大约有 149 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(40) Laya3.0_api(38) Laya2.0_文档(28) Laya2.0_api(17) laya_api(13) Laya3.0_文档(11) Laya_示例(2)
...number Returns void shadowFourCascadeSplits get shadowFourCascadeSplits(): Vector3 set shadowFourCascadeSplits(value: Vector3): void Defined in laya/d3/core/light/DirectionLight.ts:42 四级级联阴影分割比例,X、Y、Z依次为其分割比例,Z必须大于Y,Y必须大于X。 Returns Vector3 De...
来源: Laya3.0_api 发布时间: 20231115
...e, Nav2DAgent); } onMouseClick(evt: Laya.Event): void { let pos = new Laya.Vector2(evt.stageX, evt.stageY); console.log("click", pos); this._temp.graphics.clear(); this._allAgent.forEach((agent) => { agent.destination = pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let poin...
来源: Laya3.0_文档 发布时间: 20251010
...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() 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() Defined in laya/d3/core/BaseCamer...
来源: Laya3.0_api 发布时间: 20231115
...riginal: Sprite3D, parent?: Node, worldPositionStays?: boolean, position?: Vector3, rotation?: Quaternion): Sprite3D Inherited from RenderableSprite3D.instantiate Defined in laya/d3/core/Sprite3D.ts:57 创建精灵的克隆实例。 Parameters original: Sprite3D 原始精灵。 Default value parent:...
来源: Laya3.0_api 发布时间: 20231115
...riginal: Sprite3D, parent?: Node, worldPositionStays?: boolean, position?: Vector3, rotation?: Quaternion): Sprite3D Inherited from RenderableSprite3D.instantiate Defined in laya/d3/core/Sprite3D.ts:57 创建精灵的克隆实例。 Parameters original: Sprite3D 原始精灵。 Default value parent:...
来源: Laya3.0_api 发布时间: 20231115
...riginal: Sprite3D, parent?: Node, worldPositionStays?: boolean, position?: Vector3, rotation?: Quaternion): Sprite3D Inherited from RenderableSprite3D.instantiate Defined in laya/d3/core/Sprite3D.ts:57 创建精灵的克隆实例。 Parameters original: Sprite3D 原始精灵。 Default value parent:...
来源: Laya3.0_api 发布时间: 20231115
...述刚体绕某一轴旋转速度的物理属性,由一个三维向量(Vector3)表示,分别对应刚体围绕X、Y、Z 轴的旋转速率分量,该分量值既有大小又有方向。单位是弧度/秒。 简单来说,角速度衡量的是 3D 刚体绕某一旋转轴转动的快慢和...
来源: Laya3.0_文档 发布时间: 20251010
...nkey2 = _Scene3D.addChild(sp); layaMonkey2.transform.localScale = new Laya.Vector3(4, 4, 4); layaMonkey2.transform.translate(new Laya.Vector3(-20, 13, 0)); //获取动画组件 var xxAni = layaMonkey2.getChildAt(0).getComponent(Laya.Animator); //获取动画资源对象 var xxClip = Laya.Loader.getR...
来源: Laya2.0_文档 发布时间: 20210714
...相关的皮肤,但放在不同域,这里可以设置 _sundir _sundir: Vector3 = new Vector3() Defined in laya/d3/core/scene/Scene3D.ts:381 interanl Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoS...
来源: Laya3.0_api 发布时间: 20231115