大约有 71 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0035 秒)
...1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Laya.Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
...l Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchVector3" ConchVector3 Class ConchVector3 Vector3 类用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY...
来源: Laya3.0_api 发布时间: 20231102
...1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Laya.Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` (图3)
来源: Laya2.0_文档 发布时间: 20210714
...sOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isIdentity normalize setElementByRowColumn setForward setPosition setRotation setTranslationVector transpose billboard createAffineTransformation createFromQuaternion createLookAt createOrthoOffCenter c...
来源: Laya3.0_api 发布时间: 20231102
...hape(1.0, 3.4); //设置Shape的本地偏移 sphereShape.localOffset = new Vector3(0, 1.7, 0); //设置角色控制器的碰撞形状 character.colliderShape = sphereShape; ``` (图3)
来源: Laya2.0_文档 发布时间: 20210715
...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Inherited from BaseCamera._forward Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3(...
来源: Laya3.0_api 发布时间: 20231115
...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Inherited from BaseCamera._forward Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3(...
来源: Laya3.0_api 发布时间: 20231115
...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
...umentationAll Packages | All Classes | Index | Frames No Frames ConchVector3Properties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties Propert...
来源: Laya2.0_api 发布时间: 20190513
...节点也跟随移动 this.layaMonkeyParent.transform.translate(new Laya.Vector3(-0.2, 0, 0); (动图3-2) 通过点击按钮,让子节点移动,可以看到父节点并没有移动 this.layaMonkeySon.transform.translate(new Laya.Vector3(-0.2, 0, 0); 四、克隆 关于克隆,LayaAir3D中...
来源: Laya3.0_文档 发布时间: 20250103