大约有 412 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(172) Laya3.0_api(85) Laya3.0_文档(67) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
...ya; @regClass() export class LightEffectDemo extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.FreeformLight2D; private rotateSpeed: number = 2; // 增加旋转速度 private scaleTime: number = 0; private scaleSpeed: number = 3; // 增加缩放速度 private intensity: numbe...
来源: Laya3.0_文档 发布时间: 20251010
...ilFilter Index Constructors constructor Properties _curtime _lastPosition _ownerRender alignment CURTIME LIFETIME WIDTHCURVE WIDTHCURVEKEYLENGTH Accessors colorGradient minVertexDistance textureMode time widthCurve widthMultiplier Methods clear __init__ Constructors constructor new TrailFilter(owner...
来源: Laya3.0_api 发布时间: 20231115
....0.3 的VideoNode不支持在微信浏览器中播放 let videoNode = this.owner.getChildByName("VideoNode") as Laya.VideoNode; videoNode.source = 'xxx.mp4'; videoNode.play(); // 上面代码在PC端安卓苹果等自带浏览器支持视频播放,但是在微信浏览器无任何显示。 let mat...
来源: Laya_社区 发布时间: 20230825
...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors alignment awaked bounds boundsChange castShadow colorGradient destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset material materials minVertexDi...
来源: Laya3.0_api 发布时间: 20231115
...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset lineCount material materials maxLineCount pixelLinesDa...
来源: Laya3.0_api 发布时间: 20231115
...方法 TrailFilter resetGeometry(){ var render = this._owner._render; var element = render._renderElements[0]._geometry; element && element.resetGeometry() } TrailGeometry resetGeometry(){ var count=this._endIndex; for (var i=this._activeIndex;i < coun...
来源: Laya_社区 发布时间: 20191017
...D; private camera : Laya.Camera; private scene: Laya.Scene; public _load(owner : any):void{ this.scene = owner; this.camera = this.scene.scene.getChildByName("Main Camera") as Laya.Camera; console.log("当前摄像机的名字是:" + this.camera.name); } public _start(state:Laya.RenderState):v...
来源: Laya_社区 发布时间: 20181020
...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow checkLOD destroyed distanceForSort enabled hideFlags id lightmapIndex lightmapScaleOffset lodCullRateArray material materials ratioIgno...
来源: Laya3.0_api 发布时间: 20231115
...ArrayParams setDrawElemenParams Constructors constructor new TrailGeometry(owner: TrailFilter): TrailGeometry Overrides GeometryElement.constructor Defined in laya/d3/core/trail/TrailGeometry.ts:86 Parameters owner: TrailFilter Returns TrailGeometry Properties _geometryElementOBj _geometryElementOBj...
来源: Laya3.0_api 发布时间: 20231115
...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZMotion anchor angularBounce angularDamp angularLimitSpring angularXMotion angularYMotion ang...
来源: Laya3.0_api 发布时间: 20231115