大约有 4 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0038 秒)
...如下: const { regClass, property } = Laya; @regClass() class Animal { <em>privateem> _weight: number = 0; @property( { type : Number } ) get weight() : number { return this._weight; } set weight(value: number) { this._weight = value; } } 3.2.3 是否序列化保存 通过装饰器定义为组件属性...
来源: Laya3.0_文档 发布时间: 20241014
...ya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @<em>privateem> */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected lastMouseY: number = 0; protected yawPitchRoll: Laya.Vector3 = new Laya.Vector3(); protected resultRotation: La...
来源: Laya3.0_文档 发布时间: 20241014
...3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... <em>privateem> model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sp...
来源: Laya3.0_文档 发布时间: 20241014
...停,销毁,清理对象池 export class Particle3D extends Sprite3D { <em>privateem> _isInited: boolean = false; <em>privateem> _filePath: string = null; <em>privateem> _particle: Laya.Sprite = null; <em>privateem> _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; <em>privateem> _shurikenParticleSystem: Array<ShurikenP...
来源: Laya3.0_文档 发布时间: 20241014