大约有 76 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0034 秒)
...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
...er调用的时候,物体碰撞的速度已经计算完成并已经有过第一次物理移动了,如果有另外的OnCollisionBeforeEnter函数在发生碰撞就算完碰撞后的速度,并将这个速度交由开发者自己再处理一次,就可以解决类似的问题了.使用box2d,虽然这个...
来源: Laya_社区 发布时间: 20190714
...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
...的性能分析文件上传到服务器进行解析。 注意: 每上传一次录制,则会消耗一次使用次数,剩余使用次数可以在后端平台中查看。 录制结束后,如果点击“取消”,则不会上传录制结果,并且不会消耗使用次数。 2.3 查看报告 ...
来源: Laya3.0_文档 发布时间: 20251010
...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