大约有 560 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0065 秒)
...子节点会受到父节点的影响,例如父节点改变了位置,或旋转了角度,子节点也会同步产生变化。 3D节点的根节点是Scene3D,2D节点的根节点是Scene2D。2D与3D节点之间不可以混合形成父子层级关系。 二、层级面板的通用操作 2.1 创...
来源: Laya3.0_文档 发布时间: 20250103
... Graphics rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):void 旋转当前绘图。(推荐使用transform,性能更高) Graphics save():void 保存当前环境的状态。 Graphics scale(scaleX:Number, scaleY:Number, pivotX:Number = 0, pivotY:Number = 0):void 缩放当前绘图至...
来源: laya_api 发布时间: 20170929
...hics rotate(angle:Number, pivotX:Number = 0, pivotY:Number = 0):RotateCmd 旋转当前绘图。(推荐使用transform,性能更高) Graphics save():SaveCmd 保存当前环境的状态。 Graphics scale(scaleX:Number, scaleY:Number, pivotX:Number = 0, pivotY:Number = 0):ScaleCmd 缩放当前绘...
来源: Laya2.0_api 发布时间: 20190513
...r | | Position(位置) | 支持(包括:X、Y、Z) | | Rotation(旋转) | 支持(包括:X、Y、Z) | | Scale(缩放) | 支持(包括:X、Y、Z) | > 对比上面的图和表格,我们看到`Tag`是不支持的。`Static`与`Layer`是部分支持。后续将不再提醒...
来源: Laya2.0_文档 发布时间: 20210714
...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
...,切记3dmax中和unity中的坐标转换,导入fbx到unity场景中的旋转信息必须为(0,0,0)。或者可以把场景直接放到unity中,unity中有个NavMesh的组件,通过简单脚本也可以直接生成obj,这里不熟悉unity的自行百度,然后放3dmax中转成fbx再...
来源: Laya_社区 发布时间: 20170505
...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
...n(in float rot,in float age)\n{ \n float rotation =rot * age;\n //计算2x2旋转矩阵.\n float c = cos(rotation);\n float s = sin(rotation);\n return mat2(c, -s, s, c);\n}\n\nvec4 ComputeParticleColor(in vec4 startColor,in vec4 endColor,in float normalizedAge)\n{\n vec4 color=mix(startColor,e...
来源: Laya_社区 发布时间: 20171109
...数据的目的。 忽略的维度有三种,分别是位移、缩放、旋转。 忽略的输入值均是以角度为单位。 六、模型的材质(Materials)导入设置说明 材质位置用于设置模型材质的访问位置来源,共有两种选项。如图6-1所示。 (图6-1) 选择...
来源: Laya3.0_文档 发布时间: 20240910
...nStays为false时生效。 Default value rotation: Quaternion = null 世界旋转,worldPositionStays为false时生效。 Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from PixelLineSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格...
来源: Laya3.0_api 发布时间: 20231102