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

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

261. laya.d3.core.light.PointLight [ 77%]

...ean[read-only] 获取在场景中是否激活。 Sprite3D  attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不...

来源: laya_api 发布时间: 20170929

262. 3D模型旋转问题,鼠标移动之后,根据按下移动的X坐标差值判断左右旋转,但是会越转越快,请问是什么问题? [ 77%]

...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

263. 脚本属性类型为Vector如何赋值 [ 77%]

脚本属性类型为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

264. Resources already exist,is repeated loading 加载特效报重复加载 [ 76%]

...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

265. laya.d3.core.trail.TrailFilter_API3.0 [ 76%]

...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

266. Config3D_API3.0 [ 76%]

...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

267. laya.d3.renderobjs.nativeobj.NativeRenderState_API3.0 [ 76%]

...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

268. 高级应用-寻路导航 [ 76%]

...项目开发更高效。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

269. laya.d3.core.Keyframe_API3.0 [ 76%]

...建关键帧实例。 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

270. laya.d3.core.particleshuriken.module.GradientVelocity_API3.0 [ 76%]

...。 实例。 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