大约有 228 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0053 秒)
...数字输入)、string(字符串输入)、boolean(多选框)、color(颜色框+调色盘+拾色器)、vec2(XY输入组合)、vec3(XYZ输入组合)、vec4(XYZW输入组合)、asset(选择资源),这些输入控件。 通常情况下,IDE会根据组件属性类型自...
来源: Laya3.0_文档 发布时间: 20251010
...renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy anisotropyEnable anisotropyRotation anisotropyTexture blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha b...
来源: Laya3.0_api 发布时间: 20231115
...550, 400); this.info = new Laya.Text(); this.info.fontSize = 50; this.info.color = "#FFFFFF"; this.info.size(Laya.stage.width, Laya.stage.height); Laya.stage.addChild(this.info); Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, this.onDeviceorientation); } private onDeviceorientation(absolute: Bo...
来源: Laya3.0_文档 发布时间: 20251010
...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowR...
来源: Laya3.0_api 发布时间: 20231115
...此对象。 Graphics drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 Graphics drawLine(fromX:Numb...
来源: laya_api 发布时间: 20170929
...光与网格的关系二、灯光组件的通用属性2.1 灯光颜色(Color)2.2 灯光强度(Intensity)2.3 图层遮罩(Layer Mask)2.4 阴影三、进阶使用3.1 图层遮罩的代码应用3.2 引擎中的API四、灯光组件的使用2D方向光2D精灵光2D自由形态光2D聚光灯2...
来源: Laya3.0_文档 发布时间: 20251010
...itor scriptPath TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors ambientColor ambientIntensity ambientMode ambientSH ambientSphericalHarmonics awaked bounds boundsMax boundsMin boxProjection customReflection destroyed enabled hideFlags iblTex iblTexRGBD id importance probePosition reflectionDecod...
来源: Laya3.0_api 发布时间: 20231115
... 篇有讲解 关于 SkyPanoramic 材质,下面看看如何设置 Tint Color:颜色,如图2-4,改变颜色,可以看到改变后的颜色叠加到纹理上了 (图2-4) Rotation:旋转,从0到360度,旋转可以帮助我们调整天空盒的位置 天空盒随着视角的旋转改...
来源: Laya3.0_文档 发布时间: 20251010
...后期处理效果会相互叠加,并同时生效: 二、变色效果 ColorEffect2D是变色效果,通过设置不同的参数,变色效果可以在不改变图像大致样式的前提下,使其呈现出不同的风格和效果。实际运行时,变色效果不会对节点进行变形处...
来源: Laya3.0_文档 发布时间: 20251010
...:int, buffer:Float32Array):void 设置Buffer。 BaseRender _setShaderValueColor(shaderIndex:int, color:*):void 设置颜色。 BaseRender _setShaderValueInt(shaderIndex:int, i:int):void 设置整型。 BaseRender _setShaderValueNumber(shaderIndex:int, number:Number):void 设置浮点。 BaseRende...
来源: laya_api 发布时间: 20170603