大约有 42 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0030 秒)
关于2.1.0代码设计的疑问 1.关于 2.1.0版本 Vector3 的疑问 如下:2.1.0的Vector3 /**@private */ public static const _ZERO:Vector3 =/*[STATIC SAFE]*/ new Vector3(0.0, 0.0, 0.0); /**@private */ public static const _ONE:Vector3 =/*[STATIC SAFE]*/ new Vector3(1.0, 1.0, 1.0); /**@private...
来源: Laya_社区 发布时间: 20190706
...目开发更高效。Laya3D.init(0, 0, true); this._tempUnitX1 = new Laya.Vector3(0, 0, -0.1); this._tempUnitX2 = new Laya.Vector3(0, 0, 0.1); this._tempUnitX3 = new Laya.Vector3(-0.1, 0, 0); this._tempUnitX4 = new Laya.Vector3(0.1, 0, 0); this.debug = true; Laya.stage.scaleMode = Laya.Stage.SCALE_F...
来源: Laya_示例 发布时间: 20250223
...roller friction : Number 获取摩擦力。 PhysicsComponent gravity : Vector3 获取重力。 CharacterController id : int[read-only] 获取唯一标识ID。 Component isActive : Boolean[read-only] 获取是否激活。 PhysicsComponent isGrounded : Boolean[read-only] 获取角色是否在...
来源: Laya2.0_api 发布时间: 20190513
...点击按钮切换注视目标。 ```typescript //up向量 private var _up:Vector3 = new Vector3(0, 1, 0); ``` ```typescript //点击事件 changeActionButton.on(Event.CLICK, this, function():void{ index++; if (index % 3 === 1 ){ //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.po...
来源: Laya2.0_文档 发布时间: 20210714
...出矩阵 Returns void Static createFromScaling createFromScaling(scale: Vector3, out: Matrix3x3): void Defined in laya/maths/Matrix3x3.ts:98 根据制定缩放生成3x3矩阵 Parameters scale: Vector3 缩放值 out: Matrix3x3 输出矩阵 Returns void Static createFromTranslation createFromTranslat...
来源: Laya3.0_api 发布时间: 20231115
...出矩阵 Returns void Static createFromScaling createFromScaling(scale: Vector3, out: Matrix3x3): void Defined in laya/d3/math/Matrix3x3.ts:98 根据制定缩放生成3x3矩阵 Parameters scale: Vector3 缩放值 out: Matrix3x3 输出矩阵 Returns void Static createFromTranslation createFromTransl...
来源: Laya3.0_api 发布时间: 20231102
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...
来源: Laya_示例 发布时间: 20250223
...s Show Inherited Public Properties PropertyDefined By centerPosition : Vector3发射器中心位置。EmitterRing emissionRate : Number 获取粒子发射速率 EmitterBase minEmissionTime : Number 发射粒子最小时间间隔 EmitterBase particleTemplate : ParticleTemplateBase[write-only] ...
来源: laya_api 发布时间: 20170603
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...
来源: Laya_示例 发布时间: 20250223
...按钮切换注视目标。 ```typescript //up向量 this._up = new Laya.Vector3(0, 1, 0); ``` ```typescript //点击事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.tra...
来源: Laya2.0_文档 发布时间: 20210715