大约有 170 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)
Laya3.0_api(45) Laya_示例(35) Laya2.0_api(33) laya_api(33) Laya_社区(15) Laya2.0_文档(6) Laya3.0_文档(3)
...sspublic class TerrainMaterialInheritanceTerrainMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...
来源: Laya2.0_api 发布时间: 20190513
Laya.loader.create 不会反馈失败状态跟描述不符合 var resource:Array<string> = ["scene/Conventional/scene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number...
来源: Laya_社区 发布时间: 20190626
...void Defined in laya/d3/core/render/PostEffect/ColorGradEffect.ts:45 bloom resource init Returns void Globals "laya/d3/core/render/PostEffect/ColorGradEffect" ToneMappingType ColorGradEffect constructor _lutTex SHADERDEFINE_ACES SHADERDEFINE_CUSTOMLUT SHADERVALUE_CUSTOMLUT SHADERVALUE_CUSTOMLUTPARAM...
来源: Laya3.0_api 发布时间: 20231115
...ic class BlinnPhongMaterialInheritanceBlinnPhongMaterial BaseMaterial laya.resource.Resource BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取反照率颜色...
来源: Laya2.0_api 发布时间: 20190513
... export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoad...
来源: Laya_社区 发布时间: 20190925
...mport laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class SpotLightDemo { private var _quaternion:Quaternion = n...
来源: Laya_示例 发布时间: 20240930
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.resource.models.SubMesh; import laya.d3.shader.Shader3D; import la...
来源: Laya_示例 发布时间: 20240930
...aya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D...
来源: Laya2.0_文档 发布时间: 20210714
...aya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D...
来源: Laya2.0_文档 发布时间: 20210715
...mport laya.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class RealTimeShadow { private va...
来源: Laya_示例 发布时间: 20240930