大约有 186 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)
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_文档 发布时间: 20240528
...場景 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_示例 发布时间: 20241001
... 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
...:Spot聚光(Range照射范围、Spot Angle聚光灯锥形角度)、Directional平行光、Point点光(Range照射范围)) Color(灯光颜色) 支持 Mode(灯光模式) 支持(包括:Realtime实时灯光、Baked烘焙光照贴图、Mixed混合光源) Intensity(灯光强度...
来源: Laya3.0_文档 发布时间: 20231129