大约有 2,619 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
Laya_社区(1653) Laya3.0_api(320) Laya2.0_api(218) laya_api(186) Laya2.0_文档(147) Laya3.0_文档(94) Laya2.0_示例(1)
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...math/Native/ConchVector4" ConchVector4 Class ConchVector4 Vector4 类用于创建四维向量。 Hierarchy ConchVector4 Implements IClone Index Constructors constructor Properties elements ONE UnitW UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp a...
来源: Laya3.0_api 发布时间: 20231102
...ParticleMesh VertexShuriKenParticle Object VertexShurikenParticle 类用于创建粒子顶点结构。 Public Properties PropertyDefined By cornerTextureCoordinate : Vector4[read-only] VertexShurikenParticleMesh position : Vector4[read-only] VertexShurikenParticleMesh random0 : Vector4[rea...
来源: Laya2.0_api 发布时间: 20190513
...hRender Class StaticInstanceBatchRender StaticInstanceBatchRender 类用于创建动作状态。 Hierarchy BatchRender StaticInstanceBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awake...
来源: Laya3.0_api 发布时间: 20231115
...偏移组合成一个整体的碰撞体。其本质是在物理引擎底层创建一个由多个形状组成的“组合体”,作为一个刚体(RigidBody)处理。 在IDE中,我们添加完组合碰撞形状后,只有一个设置,就是形态组合(shapes),通过点击 + 号按钮添...
来源: Laya3.0_文档 发布时间: 20251010
... "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSqua...
来源: Laya3.0_api 发布时间: 20231102
...cleBillboard VertexShuriKenParticle Object VertexShurikenParticle 类用于创建粒子顶点结构。 Public Properties PropertyDefined By cornerTextureCoordinate : Vector4[read-only] VertexShurikenParticleBillboard positionStartLifeTime : Vector4[read-only] VertexShurikenParticleBillboard ...
来源: Laya2.0_api 发布时间: 20190513
...CharacterController Class CharacterController CharacterController 类用于创建角色控制器。 Hierarchy PhysicsComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath userData UPAXIS_X UPAXIS_Y UPAXIS_Z Accessors awak...
来源: Laya3.0_api 发布时间: 20231115
...e赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; import laya.utils.Handler; public class CheckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stag...
来源: Laya3.0_api 发布时间: 20231115
...r new Timer(autoActive?: boolean): Timer Defined in laya/utils/Timer.ts:34 创建 Timer 类的一个实例。 Parameters Default value autoActive: boolean = true Returns Timer Properties currFrame currFrame: number = 0 Defined in laya/utils/Timer.ts:22 当前的帧数。 currTimer currTimer: number ...
来源: Laya3.0_api 发布时间: 20231115