• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)

71. 使用typescript开发项目,解决文件引用顺序问题 [ 79%]

...new Laya.Text(); txt.text = "Hello Layabox"; txt.color = "#ffffff"; export default txt  二、发布 安装工具,在ide上使用快捷键【ctrl+` 】打开终端,输入下面指令安装打包需要的node.js工具,因为之前已经安装过typescript,所以下面指令就不重复安装...

来源: Laya_社区 发布时间: 20171120

72. laya.net.LoaderManager_API3.0 [ 79%]

...,clas:xx,priority:xx,params:xx},{url:xx,clas:xx,priority:xx,params:xx}]。 Default value complete: Handler | null = null 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源...

来源: Laya3.0_api 发布时间: 20231102

73. laya.utils.Mouse_API3.0 [ 79%]

...croll pointer not-allowed row-resize crosshair progress e-resize ne-resize default text n-resize nw-resize help vertical-text s-resize se-resize inherit wait w-resize sw-resize Returns void Methods Static hide hide(): void Defined in laya/utils/Mouse.ts:37 隐藏鼠标 Returns void Static show show(...

来源: Laya3.0_api 发布时间: 20231115

74. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 79%]

...ber 字节长度。 bufferUsage: BufferUsage VertexBuffer3D用途类型。 Default value canRead: boolean = false 是否可读。 Returns NativeVertexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/...

来源: Laya3.0_api 发布时间: 20231115

75. laya.d3.physicscannon.shape.CannonBoxColliderShape_API3.0 [ 79%]

...lliderShape.ts:44 创建一个新的 BoxColliderShape 实例。 Parameters Default value sizeX: number = 1 盒子X轴尺寸。 Default value sizeY: number = 1 盒子Y轴尺寸。 Default value sizeZ: number = 1 盒子Z轴尺寸。 Returns CannonBoxColliderShape Properties needsCustomCollisionCallbac...

来源: Laya3.0_api 发布时间: 20231102

76. laya.d3.core.particleshuriken.module.shape.CircleShape_API3.0 [ 78%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/CircleShape" CircleShape constructor arc emitFromEdge enable radius randomDirectio...

来源: Laya3.0_api 发布时间: 20231115

77. laya.d3.core.render.command.CommandBuffer_API3.0 [ 78%]

...ommand/CommandBuffer.ts:43 创建一个 CommandBuffer 实例。 Parameters Default value name: string = null Default value shadowCaster: boolean = false Returns CommandBuffer Accessors casterShadow get casterShadow(): boolean Defined in laya/d3/core/render/command/CommandBuffer.ts:58 Returns boolean...

来源: Laya3.0_api 发布时间: 20231115

78. laya.ani.GraphicsAni_API3.0 [ 78%]

...ar Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回...

来源: Laya3.0_api 发布时间: 20231115

79. laya.d3.core.scene.bvh.BVHSpatial_API3.0 [ 78%]

...n laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Defined in laya/d3/core/scen...

来源: Laya3.0_api 发布时间: 20231115

80. laya.d3.component.AnimatorState_API3.0 [ 78%]

.../d3/component/AnimatorState.ts:100 implements IReferenceCounter Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Implementation of IReferenceCounter._clearReference Defined in laya/d3/component/AnimatorState.ts:116 implements IReferenceCounter Returns v...

来源: Laya3.0_api 发布时间: 20231102