大约有 191 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(77) Laya2.0_文档(27) Laya3.0_api(24) Laya_示例(22) Laya3.0_文档(13) laya_api(13) Laya2.0_api(12) Laya2.0_示例(3)
...cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding l...
来源: Laya3.0_api 发布时间: 20231115
...3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.RandX; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; i...
来源: Laya_社区 发布时间: 20170331
... 图(3-2) 我们用一个简单的场景来做参考,当我们关掉Direction Light后(图3-2) 动图(3-2) 可以看到使用Ambient Color时,调整颜色对环境光的变化,如动图3-2所示 3.1.1 代码使用 环境光颜色AmbientColor,是对材质进行颜色融合染色...
来源: Laya3.0_文档 发布时间: 20251010
...其它设置)`里,当前只有一个选项,叫`Customize Export Root Directory Name(自定义导出目录名称)`,如下图所示,我们的根目录`Save Path(导出路径)`这里设置的是`E:/Game/3D`,当自定义目录名为test时,最终导出的资源全路径实际为`E:...
来源: Laya2.0_文档 发布时间: 20210714
... 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); //添...
来源: Laya_社区 发布时间: 20180307
... TOP_RIGHT: "topRight", }; // gradient direction const VERTICAL_GRADIENT = 'x1="0" x2="1" y1="0" y2="0"'; const HORIZONTAL_GRADIENT = 'x1="0" x2="0" y1="0" y2="1"'; const TOP_RIGHT_GRADIENT = 'x1="1" x2="0" y1="0" y2="1"'; ...
来源: Laya_社区 发布时间: 20180824
... isPerformanceMode looping playOnAwake prewarm randomSeed randomizeRotationDirection scaleMode simulationSpace simulationSpeed startColorConstant startColorConstantMax startColorConstantMin startColorType startDelay startDelayMax startDelayMin startDelayType startRotationConstant startRotationConsta...
来源: Laya3.0_api 发布时间: 20231115
...-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //平...
来源: Laya_社区 发布时间: 20180820
...cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items labelBold labelColors labelFont labelPadding l...
来源: Laya3.0_api 发布时间: 20231115
...場景 private scene: Laya.Scene3D; private camera: Laya.Camera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector...
来源: Laya_社区 发布时间: 20200917