大约有 431 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(158) Laya2.0_api(86) laya_api(67) Laya_社区(45) Laya2.0_文档(41) Laya3.0_文档(19) Laya_示例(15)
...ean[read-only] 获取在场景中是否激活。 Sprite3D attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不...
来源: laya_api 发布时间: 20170929
...umber = Laya.stage.mouseX; let mY:number = Laya.stage.mouseY; let vec:Laya.Vector3 ; if(this.isDown){ if(this.lastMouseX - mX > 0) { vec = new Laya.Vector3(0,-1,0); } else { vec = new Laya.Vector3(0,1,0); } this.rotate(vec); } } 监听的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_UP,thi...
来源: Laya_社区 发布时间: 20180113
脚本属性类型为Vector如何赋值 /** @prop {name:pos, tips:"模型位置", type:Vector,labels:"x,y,z"}*/ public pos: number = [0,30,0];脚本属性类型为Vector,如何给xyz赋上默认值呢 现在ide中显示的都是0,试了default属性没起作用 附件 : --> 2019-05-23 添加...
来源: Laya_社区 发布时间: 20190523
...formDemo{ private scene:Laya.Scene3D; private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private rotate:Laya.Vector3 = new Laya.Vector3(0, 1, 0); private scale:Laya.Vector3 = new Laya.Vector3()...
来源: Laya_社区 发布时间: 20190509
...fined in laya/d3/core/trail/TrailFilter.ts:65 _lastPosition _lastPosition: Vector3 = new Vector3() Defined in laya/d3/core/trail/TrailFilter.ts:63 _ownerRender _ownerRender: TrailRenderer Defined in laya/d3/core/trail/TrailFilter.ts:62 alignment alignment: TrailAlignment = TrailAlignment.View Define...
来源: Laya3.0_api 发布时间: 20231115
...s:19 是否开启UniformBuffer Static lightClusterCount lightClusterCount: Vector3 = new Vector3(12, 12, 12) Defined in Config3D.ts:47 X、Y、Z轴的光照集群数量,Z值会影响Cluster接受区域光(点光、聚光)影响的数量,Math.floor(2048 / lightClusterCount.z - 1) * 4 为每个Cluster...
来源: Laya3.0_api 发布时间: 20231115
...ts:36 Parameters value: number Returns void stencilOp set stencilOp(value: Vector3): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderState.ts:120 Parameters value: Vector3 Returns void stencilRef get stencilRef(): number set stencilRef(value: number): void Defined in laya/d3/RenderObjs/Nati...
来源: Laya3.0_api 发布时间: 20231115
...项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.cur...
来源: Laya_示例 发布时间: 20260929
...建关键帧实例。 Hierarchy Keyframe FloatKeyframe QuaternionKeyframe Vector3Keyframe Vector2Keyframe Vector4Keyframe Implements IClone Index Constructors constructor Properties time defaultWeight Methods clone cloneTo Constructors constructor new Keyframe(): Keyframe Defined in laya/d3/core/Key...
来源: Laya3.0_api 发布时间: 20231115
...。 实例。 Returns GradientVelocity Accessors constant get constant(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:101 固定速度。 Returns Vector3 constantMax get constantMax(): Vector3 Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:132 最...
来源: Laya3.0_api 发布时间: 20231115