大约有 2,478 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0139 秒)
Laya_社区(1664) Laya2.0_文档(335) Laya3.0_文档(162) Laya3.0_api(125) laya_api(96) Laya2.0_api(92) Laya_示例(2) Laya2.0_示例(2)
...对象形状进行遮罩显示。 > ## 一、遮罩API介绍 遮罩属性位于[laya.display.Sprite](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Sprite) API内(),该属性的说明如图1所示: ; gl_FragColor=albedoTextureColor; } ``` ### 1.定义自定义属性 **Material** 是所有的材质的基类。Material的_shaderValues:ShaderData 就是材质的属性。ShaderData是着色器数据类,记录着有关着色器的各种属性的值,包括各种uniform值、渲染...
来源: Laya2.0_文档 发布时间: 20210715
...太浓怎么变淡?看到说directlight.ambientColor,但这ambientColor属性没有 阴影太浓怎么变淡?看到说directlight.ambientColor,但这ambientColor属性没有 附件 : --> 2018-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20180320
... v_Texcoord0); gl_FragColor=albedoTextureColor; } ``` ### 1.定义自定义属性 **Material** 是所有的材质的基类。Material的_shaderValues:ShaderData 就是材质的属性。ShaderData是着色器数据类,记录着有关着色器的各种属性的值,包括各种uniform值、渲染...
来源: Laya2.0_文档 发布时间: 20210715
...照贴图。 要让场景中产生投影,我们需了解灯光的以下属性: **ShadowMode:**阴影模式,共分为四种模式: None:不产生阴影 Hard:硬阴影,对性能要求较低 SoftLow:低强度软阴影,对性能要求一般 SoftHigh:高强度软阴...
来源: Laya2.0_文档 发布时间: 20210715
...erialProperty Defined in laya/d3/core/material/Material.ts:361 获得材质属性 Returns any _defineDatas get _defineDatas(): DefineDatas Inherited from Material._defineDatas Defined in laya/d3/core/material/Material.ts:1055 Returns DefineDatas alphaTest get alphaTest(): boolean set alphaTest(value...
来源: Laya3.0_api 发布时间: 20231115
...n Object Tween 是一个缓动类。使用此类能够实现对目标对象属性的渐变。 Public Properties PropertyDefined By progress : Number[write-only] 设置当前执行比例Tween repeat : int = 1重播次数,如果repeat=0,则表示无限循环播放Tween update : Handler...
来源: Laya2.0_api 发布时间: 20190513
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象...
来源: laya_api 发布时间: 20170422