大约有 1,171 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya3.0_api(314) Laya_社区(300) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(41) Laya2.0_示例(3)
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...s Show Inherited Public Methods MethodDefined By PBRStandardMaterial() 创建一个 PBRStandardMaterial 实例。 PBRStandardMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] BaseMat...
来源: Laya2.0_api 发布时间: 20190513
...nstructor Defined in laya/d3/RenderObjs/NativeOBJ/NativeIndexBuffer3D.ts:9 创建一个 VertexBuffer3D 实例。 Parameters indexType: IndexFormat indexCount: number Default value bufferUsage: BufferUsage = BufferUsage.Static VertexBuffer3D用途类型。 Default value canRead: boolean = false 是...
来源: Laya3.0_api 发布时间: 20231115
...mponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component PhysicsComponent PhysicsTriggerComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors ...
来源: Laya3.0_api 发布时间: 20231115
...场景过程中,我们往往是通过一张预先渲染好的灰度图来创建地形建模的,在这里就不介绍地形的创建过程了。有了地形的模型,是无法让角色自动在地形上行走的,我们需要获得地形的数据,才能通过A*算法之后,让角色在真...
来源: Laya3.0_文档 发布时间: 20230303
...tructor Defined in laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D.ts:44 创建一个 VertexBuffer3D 实例。 Parameters byteLength: number 字节长度。 bufferUsage: BufferUsage VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeVertexBuffer3D Pr...
来源: Laya3.0_api 发布时间: 20231115
...ConstraintComponent Class ConstraintComponent ConstraintComponent 类用于创建约束的父类。 Hierarchy Component ConstraintComponent ConfigurableConstraint FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor script...
来源: Laya3.0_api 发布时间: 20231115
...低运行开销。 对于多数常用功能模块,当开发者在 IDE 中创建或添加相关组件时,IDE 会自动检测当前引擎库的勾选状态,若未启用则会自动勾选对应模块(删除组件时不会自动取消勾选)。 需要注意的是,若开发者仅在代码中...
来源: Laya3.0_文档 发布时间: 20260122
...or/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit ...
来源: Laya3.0_api 发布时间: 20231115
...ted Menu Globals "laya/d3/core/Avatar" Avatar Class Avatar Avatar 类用于创建Avatar。 Hierarchy Resource Avatar Implements IClone Index Constructors constructor Properties destoryedImmediately lock name url uuid AVATAR DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpu...
来源: Laya3.0_api 发布时间: 20231102