大约有 6,214 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)
Laya_社区(4720) Laya2.0_文档(406) Laya3.0_api(400) Laya2.0_api(252) laya_api(215) Laya3.0_文档(182) Laya2.0_示例(22) Laya_示例(17)
...其他碰撞体分组各不相同。 ```typescript //红色球体设置 //创建刚体碰撞器 var rigidBody = sphere.addComponent(Laya.Rigidbody3D); //创建球形碰撞器 rigidBody.isKinematic = true; //设置可以与其发生碰撞的碰撞组 rigidBody.canCollideWith = Laya.Physics3DUtils.COL...
来源: Laya2.0_文档 发布时间: 20210715
...rite Sprite3D ComponentNode Node EventDispatcher Object SpotLight 类用于创建聚光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在...
来源: laya_api 发布时间: 20170929
...pe/ColliderShape" ColliderShape Class ColliderShape ColliderShape 类用于创建形状碰撞器的父类,该类为抽象类。 Hierarchy ColliderShape CompoundColliderShape MeshColliderShape BoxColliderShape CapsuleColliderShape ConeColliderShape CylinderColliderShape SphereColliderShape StaticPl...
来源: Laya3.0_api 发布时间: 20231115
...实时加载的,退出后放到Laya.Pool中,防止下次进入又重新创建对象,但这样做有一个问题,当点击的游戏够多,Pool中缓存的游戏对象也会很多,占用内存。这时候需要清理缓存池,那么,能否实现根据对象添加到缓存池的时间...
来源: Laya_社区 发布时间: 20180608
...ublic class AnimatorInheritanceAnimator Component Object Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By avatar : Avatar 获取avatar。 Animator cullingMode : int = 2 裁剪模式Animator destroye...
来源: Laya2.0_api 发布时间: 20190513
...https://ask.layabox.com/question/1726 小于512的图片,我们会自动创建大图合集,将小于512的图片放到大图合集下,所以即使你只加载了一张很小的图片,引擎也会自动开辟一张大图合集2048*2048的 canvas下的curMem内存跟计算一张图片的内存...
来源: Laya_社区 发布时间: 20180117
...s PhysicsSimulationInheritancePhysicsSimulation Object Simulation 类用于创建物理模拟器。 Public Properties PropertyDefined By continuousCollisionDetection : Boolean 获取是否进行连续碰撞检测。 PhysicsSimulation disableSimulation : Boolean = false[static] PhysicsSimulati...
来源: Laya2.0_api 发布时间: 20190513
...ritanceQuaternion ObjectImplements laya.d3.core.IClone Quaternion 类用于创建四元数。 Public Properties PropertyDefined By elements : Float32Array四元数元素数组Quaternion w : Number[read-only] 获取四元数的w值 Quaternion x : Number[read-only] 获取四元数的x值 Qua...
来源: laya_api 发布时间: 20170929
...其他碰撞体分组各不相同。 ```typescript //红色球体设置 //创建刚体碰撞器 var rigidBody = sphere.addComponent(Laya.Rigidbody3D); //创建球形碰撞器 rigidBody.isKinematic = true; //设置可以与其发生碰撞的碰撞组 rigidBody.canCollideWith = Laya.Physics3DUtils.COL...
来源: Laya2.0_文档 发布时间: 20210715
...rite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在...
来源: laya_api 发布时间: 20170929