大约有 186 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0055 秒)
Laya_社区(75) Laya2.0_文档(27) Laya3.0_api(24) Laya_示例(22) laya_api(13) Laya2.0_api(12) Laya3.0_文档(10) Laya2.0_示例(3)
... 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
...-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
... isPerformanceMode looping playOnAwake prewarm randomSeed randomizeRotationDirection scaleMode simulationSpace simulationSpeed startColorConstant startColorConstantMax startColorConstantMin startColorType startDelay startDelayMax startDelayMin startDelayType startRotationConstant startRotationConsta...
来源: Laya3.0_api 发布时间: 20231115
...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 scene3D: Laya.Scene3D; @property( { type:Laya.DirectionLightCom } ) //DirectionLight组件类型 private directionLight: Laya.DirectionLightCom; @property( { type:Laya.Sprite3D } ) //Sprite3D节点类型 private cube: Laya.Sprite3D; @property( { type:Laya.Prefab } ) //加...
来源: Laya3.0_文档 发布时间: 20241014
...場景 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
...CustomTerrainMaterial.MATERIALSPECULAR, Laya.Shader3D.PERIOD_MATERIAL], 'u_DirectionLight.Direction': [Laya.Scene.LIGHTDIRECTION, Laya.Shader3D.PERIOD_SCENE], 'u_DirectionLight.Diffuse': [Laya.Scene.LIGHTDIRDIFFUSE, Laya.Shader3D.PERIOD_SCENE] }; var customTerrianShader = Laya.Shader3D.nameKey.add("...
来源: Laya_示例 发布时间: 20241125
... isPerformanceMode looping playOnAwake prewarm randomSeed randomizeRotationDirection scaleMode simulationSpace simulationSpeed startColorConstant startColorConstantMax startColorConstantMin startColorType startDelay startDelayMax startDelayMin startDelayType startRotationConstant startRotationConsta...
来源: Laya3.0_api 发布时间: 20231115
...t clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea index interval is3D isPlaying left mask mouseEnable...
来源: Laya3.0_api 发布时间: 20231115
...PointLight2.1 创建点光源2.2 组件属性2.3 使用代码设置三、DirectionLight3.1 创建平行光3.2 组件属性3.3 使用代码设置四、SpotLight4.1 创建聚光4.2 组件属性4.3 使用代码设置五、AreaLight5.1 创建区域光5.2 组件属性六、如何为灯光添加阴影七...
来源: Laya3.0_文档 发布时间: 20241014