大约有 2,613 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1651) Laya3.0_api(320) Laya2.0_api(218) laya_api(186) Laya2.0_文档(147) Laya3.0_文档(90) Laya2.0_示例(1)
... function onError() { console.log("error"); } function parseComplete() { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = 300; mArmature.y = 600; Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.size(256,512); m...
来源: Laya_社区 发布时间: 20170818
...ds Show Inherited Public Methods MethodDefined By BlinnPhongMaterial() 创建一个 BlinnPhongMaterial 实例。 BlinnPhongMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMater...
来源: Laya2.0_api 发布时间: 20190513
...cleRenderer Class ShurikenParticleRenderer ShurikenParticleRender 类用于创建3D粒子渲染器。 Hierarchy BaseRender ShurikenParticleRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _particleSystem _receiveShadow _singleton owner runInEditor scriptPath sortingFu...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...用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
...偏移组合成一个整体的碰撞体。其本质是在物理引擎底层创建一个由多个形状组成的“组合体”,作为一个刚体(RigidBody)处理。 在IDE中,我们添加完组合碰撞形状后,只有一个设置,就是形态组合(shapes),通过点击 + 号按钮添...
来源: Laya3.0_文档 发布时间: 20251010
...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
... "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