大约有 419 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0120 秒)
Laya_社区(177) Laya3.0_api(85) Laya3.0_文档(69) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
... freelightLayer.y = startY + gap * 2; this.owner.addChild(freelightLayer); let freeStartX = 0;//startX + gap * 2; let freeStartY = 0;//startY + gap * 2; let freeformLight2D = freelightLayer.addComponent(Laya.Free...
来源: Laya_社区 发布时间: 20251209
...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset material materials ratioIgnor receiveShadow reflection...
来源: Laya3.0_api 发布时间: 20231115
...= Laya; @regClass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法...
来源: Laya3.0_文档 发布时间: 20251010
...ructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale hideFlags id linearDamping linearVelocity type Methods _getOriBody _initialize _...
来源: Laya3.0_api 发布时间: 20231115
...器 createLightOccluder(): void { this.lightOccluder.pos(233, 265); this.owner.addChild(this.lightOccluder); let lightOccluderComponent = this.lightOccluder.addComponent(Laya.LightOccluder2D); lightOccluderComponent.canInLight = true; lightOccluderComponent.outside = true; let poly: Laya.PolygonPoin...
来源: Laya3.0_文档 发布时间: 20251010
...nst view = pkgs[0].createObject("View"); console.log(view); this.owner.addChild(view.displayObject); }); } 我提出的問題是,Fairygui編輯器和Laya編輯器,使用BlendMode和濾鏡的效果不相同。 格局豬 - 趙唐豬豬 • 2025-09-08 12:29 我重新描述問題 需求: ...
来源: Laya_社区 发布时间: 20250829
... Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angularDamping angularVelocity awaked btColliderObject canCollideWith colliderShape collisionGroup destroyed enabled friction hideFlags id isKinem...
来源: Laya3.0_api 发布时间: 20231102
...BoundsCell Index Constructors constructor Properties _extra _receiveShadow owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow curHLODRS destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset material materials ratioIgnor receiveShadow ...
来源: Laya3.0_api 发布时间: 20231115
...calRotationY localRotationZ localScale localScaleX localScaleY localScaleZ owner position rotation rotationEuler scale worldMatrix worldNeedUpdate Methods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCa...
来源: Laya3.0_api 发布时间: 20231115
...nderer: Laya.ShurikenParticleRenderer; onAwake(): void { (this.p3dRenderer.owner as Laya.Sprite3D).transform.localPosition = new Laya.Vector3(0,5,5); this.p3dRenderer.particleSystem.simulationSpeed = 10; } 通过暴露@property( { type : Laya.ShurikenParticleRenderer } )组件类型属性,来拖...
来源: Laya3.0_文档 发布时间: 20251010