大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected...
来源: Laya2.0_api 发布时间: 20190513
...克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected...
来源: Laya2.0_api 发布时间: 20190513
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new Material(): Material Overrides Resource.__constructor Defined in laya/d3/core/material/Material.ts:448 创建一个 Material 实例。 Returns Material Properties _id _id: number = 0 Inherite...
来源: Laya3.0_api 发布时间: 20231115
...lightType : int[override] [read-only] 获取点光的类型。 PointLight loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node range : Number 获取点光的范...
来源: laya_api 发布时间: 20170929
...系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node父节点。Node scene : Scene[read-only] 获得所属...
来源: laya_api 发布时间: 20170929
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLight(): SpotLight Overrides LightSprite.constructor Defined in laya/d3/core/light/SpotLight.ts:34 创建一个 SpotLight 实例。 Returns SpotLight Properties Optional _extra _extra: IN...
来源: Laya3.0_api 发布时间: 20231115
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new RenderableSprite3D(name: string): RenderableSprite3D Overrides Sprite3D.constructor Defined in laya/d3/core/RenderableSprite3D.ts:225 deprecated 创建一个 RenderableSprite3D 实例。 Para...
来源: Laya3.0_api 发布时间: 20231115
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new DirectionLight(): DirectionLight Overrides LightSprite.constructor Defined in laya/d3/core/light/DirectionLight.ts:50 创建一个 DirectionLight 实例。 Returns DirectionLight Properties O...
来源: Laya3.0_api 发布时间: 20231115
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new PixelLineMaterial(): PixelLineMaterial Overrides Material.constructor Defined in laya/d3/core/pixelLine/PixelLineMaterial.ts:36 创建一个 PixelLineMaterial 实例。 Returns PixelLineMater...
来源: Laya3.0_api 发布时间: 20231115
.../设置纹理 this._trail2D.texture = Laya.Texture2D.whiteTexture; // Laya.loader.load("此处填写纹理的路径").then((res) => { // this._trail2D.texture = res; // }); //设置线段颜色 this._trail2D.color = new Laya.Color(1, 1, 1, 1); } //控制物体向右移动 onUpdate(): void { this....
来源: Laya3.0_文档 发布时间: 20251010