• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 419 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)

201. laya.d3.core.pixelline.PixelLineFilter_API3.0 [ 63%]

...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

202. 2D拖尾渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 63%]

...器的示例代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件中获取到的宽度曲线数据 private _widthCurve: any[]; //从场景文件中获取到的颜色渐变数据 private _gradient: any; //组件被...

来源: Laya3.0_文档 发布时间: 20251010

203. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 63%]

...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

204. 2.0版本可用的CameraMoveScript.ts [ 62%]

.../ onAwake(): void {         this.camera = (<Laya.Camera>this.owner);     }          /**          * @inheritDoc          */         /*override*/ onUpdate(): void {         var elapsedTime: number = Laya.timer.delta;         if (!isNaN...

来源: Laya_社区 发布时间: 20200707

205. 2D自由形态光 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...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

206. laya.d3.core.trail.TrailFilter_API3.0 [ 62%]

...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

207. [0]Laya3.0.3 的VideoNode不支持在微信浏览器中播放 [ 62%]

....0.3 的VideoNode不支持在微信浏览器中播放 let videoNode = this.owner.getChildByName("VideoNode") as Laya.VideoNode; videoNode.source = 'xxx.mp4'; videoNode.play(); // 上面代码在PC端安卓苹果等自带浏览器支持视频播放,但是在微信浏览器无任何显示。 let mat...

来源: Laya_社区 发布时间: 20230825

208. laya.d3.core.trail.TrailRenderer_API3.0 [ 62%]

...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

209. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 62%]

...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

210. 2.3.0beta 各种bug [ 62%]

...方法       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