大约有 967 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0067 秒)
...行的时候,引擎的自动横屏和自动竖屏,只能对画布进行旋转,如果用户的手机锁屏了,虽然游戏自动旋转过来了,但是浏览器没有旋转过来,会导致输入法依然按浏览器的方向弹出,此时,可能会导致输入法与浏览器的显示呈...
来源: Laya2.0_文档 发布时间: 20210715
....lookAt(_tarPosition, _upVector3, false); //因为资源规格,这里需要旋转180度 layaMonkey.transform.rotate(new Vector3(0, 180, 0), false, false); //调整位置 Tween.to(_finalPosition, {x: _position.x, y: _position.y, z: _position.z}, 40); moveSprite3D.transform.position = _finalPosition; ...
来源: Laya_示例 发布时间: 20250219
...._position.y; //根据移动的距离进行旋转 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 ==...
来源: Laya_社区 发布时间: 20190531
... 材质动画/刚体动画:只支持对物理的旋转平移缩放属性,材质的基本属性,不支持组件跟节点的开启/失效。如果开发者对新的属性有要求,请跟帖反馈,并提供资源文件,我们会根据情况添加。Animator组件中...
来源: Laya_社区 发布时间: 20170428
...nStays为false时生效。 Default value rotation: Quaternion = null 世界旋转,worldPositionStays为false时生效。 Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from RenderableSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格...
来源: Laya3.0_api 发布时间: 20231115
...nStays为false时生效。 Default value rotation: Quaternion = null 世界旋转,worldPositionStays为false时生效。 Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from RenderableSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格...
来源: Laya3.0_api 发布时间: 20231115
...中使用代码改变节点的属性了,例如,可以让Cube绕自身旋转,示例代码如下所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite3D}) public cube: Laya.Sprite3D; private rotation: Laya.Vector3 = ...
来源: Laya3.0_文档 发布时间: 20250103