大约有 228 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
...色 this.lightComp.falloffRange = 3; // 增大衰减范围 this.lightComp.color = new Laya.Color(1.0, 0.9, 0.6, 1); // 设置灯光颜色 this.lightComp.intensity = this.intensity; // 应用灯光强度 } onUpdate(): void { // 实现灯光旋转动画 this.lightComp.lightRotation += this.rotateSpeed...
来源: Laya3.0_文档 发布时间: 20251010
...nt, buffer:Float32Array):void 设置Buffer。 BaseRender _setShaderValueColor(shaderIndex:int, color:*):void 设置颜色。 BaseRender _setShaderValueInt(shaderIndex:int, i:int):void 设置整型。 BaseRender _setShaderValueNumber(shaderIndex:int, number:Number):void 设置浮点。 BaseR...
来源: laya_api 发布时间: 20170929
...D, default: "white"}, u_SampleTexcoord : {type: Vector2, default:[1,1]}, u_Color : {type:Vector4, default:[1,1,1,1]}, u_spend : {type:Float, default:1.0}, u_defaultMat : {type:Matrix4x4, default:[ 1,0,0,0 0,1,0,0, 0,0,1,0, 0.0,0, ]} } } Shader3D End 3.2 引擎常见内置uniform 注意:其余引...
来源: Laya3.0_文档 发布时间: 20251010
...gnLength popRT pushRT restore restoreTransform save saveTransform scale setColorFilter size strokeWord transform transformByMatrix translate useRT wab __init__ set2DRenderConfig Constructors constructor new NativeContext(): NativeContext Defined in laya/resource/NativeContext.ts:89 Returns NativeCon...
来源: Laya3.0_api 发布时间: 20231102
...性值范围,并在这个范围内取一个随机值作为属性值。 Color:设置一个固定的颜色作为属性值。 TwoColors:设置两个固定颜色值,每个粒子实际的属性值由这两个颜色值随机线性插值得到。 Gradient:设置一个颜色渐变,在粒子的...
来源: Laya3.0_文档 发布时间: 20251010
... "maobi"; label.text = "自定义嵌入字体"; label.fontSize = 30; label.color = '#FFFFFF'; this.Main.box2D.addChild(label); label.pos(30, 50) }); Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2026-01-28 15:12:31 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20260128
...ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE TEXTURECUBE TINTCOLOR defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcR...
来源: Laya3.0_api 发布时间: 20231115
...ERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE TEXTURE TEXTURE_HDR_PARAMS TINTCOLOR Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cul...
来源: Laya3.0_api 发布时间: 20231115
...fectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVecto...
来源: Laya3.0_api 发布时间: 20231115
...rited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_C...
来源: Laya3.0_api 发布时间: 20231115