大约有 186 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0048 秒)
Laya_社区(75) Laya2.0_文档(27) Laya3.0_api(24) Laya_示例(22) laya_api(13) Laya2.0_api(12) Laya3.0_文档(10) Laya2.0_示例(3)
...e diffuseColor : Vector3 获取灯光的漫反射颜色。 LightSprite direction : Vector3 获取平行光的方向。 SpotLight displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静...
来源: laya_api 发布时间: 20170929
...x Constructors constructor Properties arc emitFromEdge enable radius randomDirection shapeType Accessors arcDEG Methods clone cloneTo generatePositionAndDirection Constructors constructor new CircleShape(): CircleShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/s...
来源: Laya3.0_api 发布时间: 20231115
...operties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADERDEFINE_MORPHTARG...
来源: Laya3.0_api 发布时间: 20231115
...0, 0), true, false); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya...
来源: Laya_示例 发布时间: 20241118
.... Allow HDR - Light ![Light](./img/components/class-Light-0.png) 1. Type - Directional - Spot - Range - Spot Angle - Point - Range 2. Color 3. Mode - Realtime - Mixed - Baked 4. intensity - Mesh Filter ![Mesh Filter](./img/components/Inspector-MeshFilter.png) 1. Mesh - Mesh Renderer ![Mesh Renderer]...
来源: Laya2.0_文档 发布时间: 20200822
...structors constructor Properties angle emitType enable length radius randomDirection shapeType Accessors angleDEG Methods clone cloneTo generatePositionAndDirection Constructors constructor new ConeShape(): ConeShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/sha...
来源: Laya3.0_api 发布时间: 20231115
3D阴影无法渲染出来 //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); directionLight.shadow = true; directionLight.shadowDistance = 3; directionLight...
来源: Laya_社区 发布时间: 20170809
...)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../....
来源: Laya_示例 发布时间: 20241118
...{ var rg: RadioGroup = new RadioGroup(); rg.skin = skin; rg.space = 70; rg.direction = "v"; rg.labels = "Item1, Item2, Item3"; rg.labelColors = "#787878,#d3d3d3,#FFFFFF"; rg.labelSize = 20; rg.labelBold = true; rg.labelPadding = "5,0,0,5"; rg.selectHandler = new Handler(this, this.onSelectChange); L...
来源: Laya_示例 发布时间: 20241118
...{ var rg: RadioGroup = new RadioGroup(); rg.skin = skin; rg.space = 70; rg.direction = "v"; rg.labels = "Item1, Item2, Item3"; rg.labelColors = "#787878,#d3d3d3,#FFFFFF"; rg.labelSize = 20; rg.labelBold = true; rg.labelPadding = "5,0,0,5"; rg.selectHandler = new Handler(this, this.onSelectChange); L...
来源: Laya2.0_示例 发布时间: 20241118