大约有 260 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0037 秒)
...orm3D 取关联虚拟变换。 Transform3D forward : Vector3[read-only] 获取向前方向。 Transform3D localMatrix : Matrix4x4 获取局部矩阵。 Transform3D localPosition : Vector3 获取局部位置。 Transform3D localRotation : Quaternion 获取局部旋转。 Transform3D lo...
来源: laya_api 发布时间: 20170929
...ayer 实例。 Layer getLayerByMask(mask:int):Layer[static] 过蒙版值获取蒙版。 Layer getLayerByName(name:String):Layer[static] 过蒙版值获取蒙版。 Layer getLayerByNumber(number:int):Layer[static] 过编号获取蒙版。 Layer isActive(mask:int):Boolean[static] 过蒙版...
来源: laya_api 发布时间: 20170929
...许实例。 Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial renderQueue : int 所属渲染队列.BaseMaterialPublic Methods MethodDefined By BaseMaterial() 创...
来源: Laya2.0_api 发布时间: 20190513
....core.Sprite3D; /**是否已执行start函数。*/ started: boolean; /** * 获取唯一标识ID。 * @return 唯一标识ID。 */ id: number; /** * 获取所属Sprite3D节点。 * @return 所属Sprite3D节点。 */ owner: laya.d3.core.Sprite3D; /** * 获取是否启用。 * @return 是否启动。 *...
来源: Laya_社区 发布时间: 20171109
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...Inherited Public Properties PropertyDefined By angularDamping : Number 获取刚体的角阻力。 Rigidbody3D angularFactor : Vector3 获取角因子。 Rigidbody3D angularVelocity : Vector3 获取角速度。 Rigidbody3D canCollideWith : int 获取可碰撞的碰撞组。 PhysicsCompone...
来源: Laya2.0_api 发布时间: 20190513
...变换。 Public Properties PropertyDefined By localMatrix : Matrix4x4 获取局部矩阵。 Transform3D localPosition : Vector3 获取局部位置。 Transform3D localPositionX : Number 获取局部位置X轴分量。 Transform3D localPositionY : Number 获取局部位置Y轴分量。 ...
来源: Laya2.0_api 发布时间: 20190513
...添加到舞台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合...
来源: Laya3.0_文档 发布时间: 20251010
...代码逻辑中调用实现。 4.1 角色位置 position 角色位置用于获取和设置角色控制器的位置,通常应用于获取角色当前位置,或者设置角色位置初始化(例如出生点与传送点)等需求。 代码设置示例如下: const { regClass, property } = Lay...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115