大约有 41 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0087 秒)
...[1-2](img/1-2.gif) (动图1-2) angulaVelocity属性的值是3维向量`Vector3`类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是**弧度/秒**。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。...
来源: Laya2.0_文档 发布时间: 20210715
...移速度越快。 (动图1-2) angulaVelocity属性的值是3维向量Vector3类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是弧度/秒。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。 angul...
来源: Laya3.0_文档 发布时间: 20251010
...:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, comple...
来源: Laya2.0_api 发布时间: 20190513
...:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String):MeshSp...
来源: laya_api 发布时间: 20170929
...//调整方向 this.layaMonkey.transform.lookAt(this._tarPosition, this._upVector3, false); //因为资源规格,这里需要旋转180度 this.layaMonkey.transform.rotate(this._rotation2, false, false); //调整位置 Tween.to(this._finalPosition, { x: this._position.x, y: this._position.y, z: thi...
来源: Laya3.0_文档 发布时间: 20230303
...riginal: Sprite3D, parent?: Node, worldPositionStays?: boolean, position?: Vector3, rotation?: Quaternion): Sprite3D Inherited from PixelLineSprite3D.instantiate Defined in laya/d3/core/Sprite3D.ts:57 创建精灵的克隆实例。 Parameters original: Sprite3D 原始精灵。 Default value parent: ...
来源: Laya3.0_api 发布时间: 20231102
...型 装饰器属性标识的类型支持引擎对象类型(例如:Laya.Vector3、Laya.Sprite3D、Laya.Camera等)、自定义的对象类型(需要标记@regClass())、以及TS语言的基本类型。 2.5.1 引擎对象类型 引擎对象类型的理解比较简单,暴露组件属性之...
来源: Laya3.0_文档 发布时间: 20251010
... 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
...mation动画节点添加动画脚本,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, pl...
来源: Laya3.0_文档 发布时间: 20251010
...述刚体绕某一轴旋转速度的物理属性,由一个三维向量(Vector3)表示,分别对应刚体围绕X、Y、Z 轴的旋转速率分量,该分量值既有大小又有方向。单位是弧度/秒。 简单来说,角速度衡量的是 3D 刚体绕某一旋转轴转动的快慢和...
来源: Laya3.0_文档 发布时间: 20251010