大约有 6 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0016 秒)
...不多做介绍了。这里详细讲解下Sprite3D中特有的克隆接口`instantiate`。 ```typescript static instantiate(original, parent = null, worldPositionStays = true, position = null, rotation = null); ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持...
来源: Laya2.0_文档 发布时间: 20210714
...不多做介绍了。这里详细讲解下Sprite3D中特有的克隆接口`instantiate`。 ```typescript static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 -...
来源: Laya2.0_文档 发布时间: 20210715
...不多做介绍了。这里详细讲解下Sprite3D中特有的克隆接口`instantiate`。 ```typescript public function static instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :...
来源: Laya2.0_文档 发布时间: 20210715
...。 ```typescript //克隆sprite3d var layaMonkey_clone1 = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone2 = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone3 = Laya.Sprite...
来源: Laya2.0_文档 发布时间: 20210715
... ```typescript //克隆sprite3d var layaMonkey_clone1:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Sprite3D = Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Vector3(0.0, 0, 0.5)); var layaMonkey_clone3:Sprite3D = Sprite3...
来源: Laya2.0_文档 发布时间: 20210714
...cript //克隆sprite3d var layaMonkey_clone1:Laya.Sprite3D = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clone2:Laya.Sprite3D = Laya.Sprite3D.instantiate(staticLayaMonkey, _scene, false, new Laya.Vector3(0.0, 0, 0.5)); var layaMonkey_clon...
来源: Laya2.0_文档 发布时间: 20210715