大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...lTFMesh, glTFSkin?: glTFSkin): Mesh Defined in laya/gltf/glTFUtils.ts:1253 创建 Mesh Parameters glTFMesh: glTFMesh Optional glTFSkin: glTFSkin Returns Mesh Static _createMeshSprite3D _createMeshSprite3D(glTFNode: glTFNode): MeshSprite3D Defined in laya/gltf/glTFUtils.ts:797 创建 MeshSprite3D 对...
来源: Laya3.0_api 发布时间: 20231102
...itanceVertexBuffer3D Buffer laya.resource.Resource VertexBuffer3D 类用于创建顶点缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : *[static] Buffer bufferUsage : int[read-...
来源: laya_api 发布时间: 20170929
...只需专注游戏逻辑开发即可。 在2.0项目开发中,无论是创建场景Scene,页面View,对话框Dialog,3d场景scene3d,文件类型和后缀都是scene。但是3.0中场景的划分有所区别,不再是统一的后缀scene方式。 一、IDE中的场景 1.1 新建场景 使...
来源: Laya3.0_文档 发布时间: 20240910
...戏性能的重要因素之一。 在游戏中有许多对象在不停的创建与移除,比如角色攻击子弹、特效的创建与移除,NPC的被消灭与刷新等,在创建过程中非常消耗性能,特别是数量多的情况下。 对象池技术能很好解决以上问题,在对...
来源: Laya2.0_文档 发布时间: 20210715
...AnimatorStateScript Defined in laya/d3/animation/AnimatorStateScript.ts:25 创建一个新的 AnimatorStateScript 实例。 Returns AnimatorStateScript Methods onStateEnter onStateEnter(): void Defined in laya/d3/animation/AnimatorStateScript.ts:37 动画状态开始时执行。 Returns void onState...
来源: Laya3.0_api 发布时间: 20231115
...e(normal?: Vector3, d?: number): Plane Defined in laya/d3/math/Plane.ts:16 创建一个 Plane 实例。 Parameters Default value normal: Vector3 = new Vector3 平面的向量 Default value d: number = 0 平面到原点的距离 Returns Plane Properties Static PlaneIntersectionType_Back PlaneIntersec...
来源: Laya3.0_api 发布时间: 20231115
...步认知Animation 组件 Animation组件是动画组件,可以方便的创建图集动画或者使用LayaAirIDE创建的ani动画。如动图1所示。  (动图1) Animation的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animati...
来源: Laya2.0_文档 发布时间: 20210714
...步认知Animation 组件 Animation组件是动画组件,可以方便的创建图集动画或者使用LayaAirIDE创建的ani动画。如动图1所示。  (动图1) Animation的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animati...
来源: Laya2.0_文档 发布时间: 20210714
...据。 要使用 Socket 类的方法,请先使用构造函数 new Socket 创建一个 Socket 对象。 Socket 以异步方式传输和接收数据。 Public Properties PropertyDefined By connected : Boolean[read-only] 表示此 Socket 对象目前是否已连接。 Socket disableInput : Boo...
来源: laya_api 发布时间: 20170929
... ColorInheritanceColor ObjectImplements laya.d3.core.IClone Color 类用于创建颜色实例。 Public Properties PropertyDefined By a : Numberalpha分量Color b : Numberblue分量Color g : Numbergreen分量Color r : Numberred分量ColorPublic Methods MethodDefined By Color(r:Numb...
来源: Laya2.0_api 发布时间: 20190513