大约有 301 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
...Length minLength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new DistanceJoint(): DistanceJoint Inherited from JointBase.constructor Overrides Component.construc...
来源: Laya3.0_api 发布时间: 20231115
[LayaAir3]挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } 点击就报错 挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown);} 点击就报错 附件 : --> 2023-12-20 添加评论 ...
来源: Laya_社区 发布时间: 20231220
...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { // 平移cube this.cube.transform.translate(this.translate, false); } } 效果如图1-1所示,其中1是原位置,2是平移后的位置。 (图1-1) 2. 旋转变换 关于旋转,在Transform3D中提...
来源: Laya3.0_文档 发布时间: 20251010
...?language=ch&category=3d&group=Script&name=ScriptDemo))。该示例中对onAwake,onStart,onUpdate,onDisable 进行了接管。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次,此...
来源: Laya2.0_文档 发布时间: 20210715
... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PolygonCollider(): PolygonCollider Inherited from ColliderBase.constructor Overrides Component.c...
来源: Laya3.0_api 发布时间: 20231115
...Owner destroy getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PhysicsComponent(collisionGroup: number, canCollideWith: number): PhysicsComponent Overrides Com...
来源: Laya3.0_api 发布时间: 20231115
... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CircleCollider(): CircleCollider Inherited from ColliderBase.constructor Overrides Component.con...
来源: Laya3.0_api 发布时间: 20231115
... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new EdgeCollider(): EdgeCollider Inherited from ColliderBase.constructor Overrides Component.constru...
来源: Laya3.0_api 发布时间: 20231115
...n shadowStrength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new Light(): Light Overrides Component.constructor Defined in laya/d3/core/light/Light.ts:177 创建...
来源: Laya3.0_api 发布时间: 20231115
...upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PrismaticJoint(): PrismaticJoint Inherited from JointBase.constructor Overrides Component.constr...
来源: Laya3.0_api 发布时间: 20231115