大约有 73 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 _updateMark _updateMark: number Defined in laya/d3/component/Volume/reflectionProbe/ReflectionProbe.ts:60 修改了值,需要更新shader,需要和updateMask对应 owner owner: Node Inherited from Component.owner D...
来源: Laya3.0_api 发布时间: 20231115
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/compo...
来源: Laya3.0_api 发布时间: 20231115
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component....
来源: Laya3.0_api 发布时间: 20231115
...与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,function(){ //obj.transform.rotate(vect,false,false); //}); })); })); })(this); class BoxControlScript extends Laya.Script3D { constructor() { super(); this.obj = null; this.rotation = new Laya....
来源: Laya_社区 发布时间: 20200611
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 category category: number = 1 Defined in laya/physics/RigidBody.ts:54 [只读]碰撞类别,使用2的幂次方值指定,有32种不同的碰撞类别可用 group group: number = 0 Defined in laya/physics/RigidBody....
来源: Laya3.0_api 发布时间: 20231115
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintCompone...
来源: Laya3.0_api 发布时间: 20231115
...执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onEnable 组件被启用后执行,比如节点被添加到舞台后 onStart 第一次执行onUpdate之前执行,只会执行一次 onUpdate 每帧更新时执行,尽量不要在这里写大循环逻辑或者使...
来源: Laya3.0_文档 发布时间: 20240528
...onent.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component....
来源: Laya3.0_api 发布时间: 20231115
...行,此时所有节点和组件均已创建完毕,此方法只会执行一次 | | onEnable | 组件被启用后执行,比如,节点被添加到舞台后执行 | | onStart | 在第1次执行update之前执行,只会执行一次, | | onUpdate | 每帧更新时执行,尽量不要在这里...
来源: Laya2.0_文档 发布时间: 20210715
...ouch = this.scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ //获取触碰点的位置 this.lastPosition.x = touch._position.x; ...
来源: Laya_社区 发布时间: 20190531