大约有 419 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
Laya_社区(177) Laya3.0_api(85) Laya3.0_文档(69) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
...rayParams setDrawElemenParams Constructors constructor new PixelLineFilter(owner: PixelLineRenderer, maxLineCount: number): PixelLineFilter Overrides GeometryElement.constructor Defined in laya/d3/core/pixelLine/PixelLineFilter.ts:52 创建一个PixelLineFilter实例 Parameters owner: PixelLineRende...
来源: Laya3.0_api 发布时间: 20231115
...器的示例代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件中获取到的宽度曲线数据 private _widthCurve: any[]; //从场景文件中获取到的颜色渐变数据 private _gradient: any; //组件被...
来源: Laya3.0_文档 发布时间: 20251010
...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
.../ onAwake(): void { this.camera = (<Laya.Camera>this.owner); } /** * @inheritDoc */ /*override*/ onUpdate(): void { var elapsedTime: number = Laya.timer.delta; if (!isNaN...
来源: Laya_社区 发布时间: 20200707
...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