大约有 9,044 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0186 秒)
Laya_社区(8096) Laya3.0_api(304) Laya2.0_api(209) Laya2.0_文档(174) laya_api(166) Laya3.0_文档(76) Laya_示例(11) Laya2.0_示例(8)
...象类。 Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类型。...
来源: Laya2.0_api 发布时间: 20190513
...模型文件为服务器文件时,模型文件中的配置fileconfig.json获取不到 原码中的updateloadPackage方法中的_loadSubFileConfig2加载fileConfig.json中的配置时,图片的路径为本地路径未加上服务地址。 wochongxie 途中的arg2参数是我重写加上去的,...
来源: Laya_社区 发布时间: 20250613
如何将getCanvas()方法获取的canvas对象传入js中使用 var htmlC:HTMLCanvas = _nailPlate.drawToCanvas(600, 600, 0, 0); var canvas:* = htmlC.getCanvas(); __JS__("paintBucketApp.init('canvas')");像这样传过去后,js里调用canvas.getContext("2d"); 报错canvas.getContext is not a f...
来源: Laya_社区 发布时间: 20180411
...estObject:*):void 克隆。 GradientDataNumber getAverageValue():Number 获取平均值。 GradientDataNumber getKeyByIndex(index:int):Number 通过索引获取键。 GradientDataNumber getValueByIndex(index:int):Number 通过索引获取值。 GradientDataNumberProperty DetailgradientCount...
来源: laya_api 发布时间: 20170929
...estObject:*):void 克隆。 GradientDataNumber getAverageValue():Number 获取平均值。 GradientDataNumber getKeyByIndex(index:int):Number 通过索引获取键。 GradientDataNumber getValueByIndex(index:int):Number 通过索引获取值。 GradientDataNumberProperty DetailgradientCount...
来源: Laya2.0_api 发布时间: 20190513
...nherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 BaseRender enable : Boolean 获取是否可用。 BaseRender id : int[read-only] 获取唯一标识ID,通常用于...
来源: Laya2.0_api 发布时间: 20190513
... getItem(sign:String):*[static] 根据传入的对象类型标识字符,获取对象池中已存储的此类型的一个对象,如果对象池中无此类型的对象,则返回 null 。 Pool getItemByClass(sign:String, cls:Class):*[static] 根据传入的对象类型标识字符,获取...
来源: Laya2.0_api 发布时间: 20190513
Browser获取的运行环境信息,太不准确了吧? 下面是在IPAD上运行的截图: 下面是在安卓平板运行器中运行的截图: 我想判断程序是否在app中运行,想到了判断 Laya.PlatformClass是否存在,但在运行器中它也是存在的,纠...
来源: Laya_社区 发布时间: 20180511
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage ...
来源: Laya2.0_api 发布时间: 20190513
...ow Inherited Public Properties PropertyDefined By alphaBlending : Number 获取透明混合度。 Sky colorIntensity : Number 获取颜色强度。 Sky envDiffuseSHBlue : Float32Array[write-only] Sky envDiffuseSHGreen : Float32Array[write-only] Sky envDiffuseSHRed : Float32Array[write-only] Sk...
来源: laya_api 发布时间: 20170929