大约有 676 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0037 秒)
Laya3.0_api(470) Laya2.0_api(71) Laya3.0_文档(63) laya_api(58) Laya_社区(8) Laya_示例(2) Laya2.0_文档(2) Laya2.0_示例(2)
...x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertF...
来源: Laya3.0_api 发布时间: 20231102
...Script { @property({ type: Laya.VideoNode }) public video: Laya.VideoNode; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 鼠标点击触发播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { L...
来源: Laya3.0_文档 发布时间: 20251010
...件网格数据模板。 Hierarchy Resource Mesh Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock morphTargetData name url uuid DEBUG MESH_INSTANCEBUFFER_TYPE_NORMAL MESH_INSTANCEBUFFER_TYPE_SIMPLEANIMATOR Accessors bounds cpuMemory destroyed gpuMemory id ind...
来源: Laya3.0_api 发布时间: 20231115
...边缘发射。radiusproperty public var radius:Number发射器半径。Constructor DetailCircleShape()Constructorpublic function CircleShape() 创建一个 CircleShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters b...
来源: laya_api 发布时间: 20170929
...转角度,其值范围从-90至90。代表设备从左至右的运动。 Constructor DetailRotationInfo()Constructorpublic function RotationInfo()Fri Sep 29 2017, 06:34 PM +08:00
来源: laya_api 发布时间: 20170929
...边缘发射。radiusproperty public var radius:Number发射器半径。Constructor DetailCircleShape()Constructorpublic function CircleShape() 创建一个 CircleShape 实例。 Method Detail_getShapeBoundBox()methodoverride protected function _getShapeBoundBox(boundBox:BoundBox):void Parameters b...
来源: Laya2.0_api 发布时间: 20190513
...null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager...
来源: Laya_社区 发布时间: 20171124
...typeproperty public var type:int类型,0为whole sheet、1为singal row。Constructor DetailTextureSheetAnimation()Constructorpublic function TextureSheetAnimation(frame:FrameOverTime, startFrame:StartFrame) 创建一个 TextureSheetAnimation 实例。 Parameters frame:FrameOverTime — 动画帧...
来源: Laya2.0_api 发布时间: 20190513
...cript extends Laya.Script { @property({ type: Laya.List }) list: Laya.List constructor() { super(); } // 组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_lab...
来源: Laya3.0_文档 发布时间: 20251010
...perty public var velocityAddVariance:Number = 0发射器速度随机值。Constructor DetailEmitterSphere()Constructorpublic function EmitterSphere(particle3D:Particle3D) 创建一个 EmitterSphere 实例。 Parameters particle3D:Particle3D — 粒子。 Method Detailemit()methodoverride public fun...
来源: laya_api 发布时间: 20170603