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

大约有 431 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)

421. laya.ui.RadioGroup [ 54%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的...

来源: laya_api 发布时间: 20170929

422. laya.ui.RadioGroup [ 54%]

...测依据。 Stage对象和UI的View组件默认为true。 Sprite items : Vector.<ISelect>[read-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的...

来源: Laya2.0_api 发布时间: 20190513

423. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 54%]

...到整数的网格索引 */ private function getGridIndex(x:int, z:int,out:Vector2):void{ var minX:int = terrainSprite.minX; var minZ:int = terrainSprite.minZ; var cellX:Number = terrainSprite.width / aStarMap.width; var cellZ:Number = terrainSprite.depth / aStarMap.height; var gridX:int = Math.floo...

来源: Laya2.0_文档 发布时间: 20210714

424. laya.d3.core.material.ParticleMaterial [ 52%]

... BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染剔除。...

来源: laya_api 发布时间: 20170603

425. 3D灯光与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、DirectionLight Direction Light(平行光)与点光区别较大,它有固定的一个方向,可通过弧度值设定,并且也没有衰减和光照范围,会对全场景所有模型进行...

来源: Laya3.0_文档 发布时间: 20251010

426. laya.d3.core.scene.Scene3D_API3.0 [ 52%]

...相关的皮肤,但放在不同域,这里可以设置 _sundir _sundir: Vector3 = new Vector3() Defined in laya/d3/core/scene/Scene3D.ts:381 interanl Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoS...

来源: Laya3.0_api 发布时间: 20231115

427. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...这些属性,并将它们保存在一些常见的数据结构中,例如Vector,这样是很好的,因为我们可以修改他们的数值,从而产生令人兴奋的效果。 下图2-1展示的是顶点、多边形、边缘的可视化三种形态, (图2-1) 接下来单独介绍Mesh...

来源: Laya3.0_文档 发布时间: 20251010

428. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

... colorIndex); } } private _getRandomPosition(positionRanvge: number): Laya.Vector3 { let getRangeRandom = () => { return (Math.random() - 0.5) * positionRanvge; } return new Laya.Vector3(getRangeRandom(), 0.3, getRangeRandom()); } } shader代码如下: Shader3D Start { type:Shader3D name:PBRCol...

来源: Laya3.0_文档 发布时间: 20251010

429. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

... { //注意这里面的属性不要使用到Laya引擎里的类型,比如Vector3这些,是不可以的 Editor.typeRegistry.addTypes([ { name: "MyTestSettingsType", properties: [ { name: "option1", type: "boolean", default: true }, { name: "option2", type: "string", default: "", } ] } ]); Editor....

来源: Laya3.0_文档 发布时间: 20251010

430. 预制体模块 · LayaAir3文档 · LAYABOX [ 26%]

...景中 this.scene.addChild( monkey ); monkey.transform.position = new Laya.Vector3(-28.9354,0.3,-63.20264); } ); } } 运行效果如动图3-9 (动图3-9) 四、预加载预制体 在开发过程中,我们会通过大量创建预制体的方式来实现各种功能,因此预制体也可以理...

来源: Laya3.0_文档 发布时间: 20241014