大约有 292 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)
Laya_社区(72) Laya3.0_api(58) Laya2.0_文档(51) Laya2.0_api(41) laya_api(39) Laya_示例(22) Laya3.0_文档(9)
...20。 `atmosphereThickness:Number` 大气厚度,范围是0到5。 `skyTint:Vector4 ` 天空颜色。 `groundTint:Vector4` 地面颜色。 `exposure:Number` 曝光强度,范围是0到8。 #### 创建和使用材质 下面的代码对官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?l...
来源: Laya2.0_文档 发布时间: 20210715
...ene.addChild(new Laya.Camera( 0, 0.1, 100)); camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); var camera2 = scene.addChild(new Laya.Camera( 0, 0.1, 100)); camera2.clear...
来源: Laya_示例 发布时间: 20251130
...l blendSrc : int 获取混合源。 ShurikenParticleMaterial color : Vector4 获取颜色。 ShurikenParticleMaterial colorA : Number 获取颜色Z分量。 ShurikenParticleMaterial colorB : Number 获取颜色B分量。 ShurikenParticleMaterial colorG : Number 获取颜色G分量。 ...
来源: Laya2.0_api 发布时间: 20190513
...lor NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static Byte2 Byte2: string = "byte2" Defined in laya/d3/graphics/VertexElementFormat.ts:24 字节数组2 Static Byte3 Byte3: string = "byte3" Defined in laya/d3/graphics/VertexElemen...
来源: Laya3.0_api 发布时间: 20231102
...ties Show Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取反照率颜色。 UnlitMaterial albedoColorA : Number 获取反照率颜色Z分量。 UnlitMaterial albedoColorB : Number 获取反照率颜色B分量。 UnlitMaterial albedoColorG : Number 获取反...
来源: Laya2.0_api 发布时间: 20190513
...ript; import Vector2 = Laya.Vector2; import Vector3 = Laya.Vector3; import Vector4 = Laya.Vector4; import WebGLContext = Laya.WebGLContext; export class SceneScript extends Script { private _originPosition:Vector3 = new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vect...
来源: Laya_社区 发布时间: 20180201
...ties Show Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取漫反射颜色。 PBRStandardMaterial albedoColorA : Number 获取反射率颜色Z分量。 PBRStandardMaterial albedoColorB : Number 获取反射率颜色B分量。 PBRStandardMaterial albedoColorG : ...
来源: Laya2.0_api 发布时间: 20190513
...id getPropertyArray getPropertyArray(attributeLocation: InstanceLocation): Vector4[] | Vector3[] | Vector2[] | Float32Array Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:145 获得属性数据 Parameters attributeLocation: InstanceLocation 属性shader位置 Returns Vector4...
来源: Laya3.0_api 发布时间: 20231115
...eCube : TextureCube 获取天空盒纹理。 SkyBoxMaterial tintColor : Vector4 获取颜色。 SkyBoxMaterialPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By SkyBoxMaterial() 创建一个 SkyBoxMaterial 实例。 SkyBoxMaterial _addReference(count:...
来源: Laya2.0_api 发布时间: 20190513
...; var unlitMaterial = new UnlitMaterial(); unlitMaterial.albedoColor = new Vector4(255,0,0,255); var shurikenMaterial:ShurikenParticleMaterial = new ShurikenParticleMaterial(); shurikenMaterial.color = new Vector4(255,0,0,255); 按我的理解,官方示例上的unlitMaterial.albedoColor不是...
来源: Laya_社区 发布时间: 20201218