大约有 40 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0034 秒)
...目开发更高效。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_示例 发布时间: 20250222
...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
...出矩阵 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_示例 发布时间: 20250222
...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_示例 发布时间: 20250222
...按钮切换注视目标。 ```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
...钮切换注视目标。 ```typescript //up向量 private _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
...调用camera.up的值结果均为零, 但是我如果自己输入一个Vector3的模拟值 就会得到正常结果 我这里初步判断:camera.up 输出值只有在控制台展开可以看到,可是调用 没办法正确获取 对于js浮点数的问题,参看camera.up.z 的值 不是...
来源: Laya_社区 发布时间: 20241030