• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 170 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)

131. laya.d3.core.material.TerrainMaterial [ 62%]

...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

132. Laya.loader.create 不会反馈失败状态跟描述不符合 [ 61%]

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

133. laya.d3.core.render.posteffect.ColorGradEffect_API3.0 [ 61%]

...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

134. laya.d3.core.material.BlinnPhongMaterial [ 59%]

...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

135. Laya3D场景加载问题 [ 59%]

... 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

136. 灯光-聚光 [ 59%]

...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

137. 自定义shader-地形shader [ 59%]

...; 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

138. Sprite3D添加组件或脚本(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 59%]

...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

139. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 58%]

...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

140. 高级应用-实时阴影 [ 58%]

...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