大约有 60 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0032 秒)
...uctor Properties _nativeObj MemoryBlock_size tmpVec3 Accessors localMatrix localPosition localPositionX localPositionY localPositionZ localRotation localRotationEuler localRotationEulerX localRotationEulerY localRotationEulerZ localRotationW localRotationX localRotationY localRotationZ localScale lo...
来源: Laya3.0_api 发布时间: 20231115
...ansform3D NativeTransform3D Index Properties tmpVec3 Accessors localMatrix localPosition localPositionX localPositionY localPositionZ localRotation localRotationEuler localRotationEulerX localRotationEulerY localRotationEulerZ localRotationW localRotationX localRotationY localRotationZ localScale lo...
来源: Laya3.0_api 发布时间: 20231115
...lic Methods MethodDefined By AnimationTransform3D(owner:AnimationNode, localPosition:Float32Array = null, localRotation:Float32Array = null, localScale:Float32Array = null, worldMatrix:Float32Array = null) 创建一个 Transform3D 实例。 AnimationTransform3D event(type:String, data:* = null)...
来源: Laya2.0_api 发布时间: 20190513
...e.meshRenderer.sharedMaterial = boxMat; var localPos = boxSprite.transform.localPosition; var rad = ((Math.PI * 2) / oneCircleCount) * j; Laya.Matrix4x4.createRotationY(rad, radMatrix); Laya.Vector3.transformCoordinate(radius, radMatrix, localPos); boxSprite.transform.localPosition = localPos; scene...
来源: Laya_社区 发布时间: 20191112
... var camera = new Laya.Camera(); scene.addChild(camera); camera.transform.localPosition = new Laya.Vector3(0,4,10); //载入并显示3D建筑 var map = Laya.Sprite3D.load("LayaScene_test/test.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 cam...
来源: Laya_社区 发布时间: 20170524
...ale = new Laya.Vector3( 0.01125, 0.01125, 0.01125 ); clonesprite.transform.localPosition = new Laya.Vector3(0, 0, 0); // 使用以下代码ios小游戏内显示正常 // scene.addChild(sprite) as Laya.Sprite3D; // sprite.transform.localScale = new Laya.Vector3( // 0.01125, // 0.01125, // 0.01125 // ...
来源: Laya_社区 发布时间: 20220721
...点类型 public p3d: Laya.Sprite3D; onAwake(): void { this.p3d.transform.localPosition = new Laya.Vector3(0,5,5); let p3dRenderer = this.p3d.getComponent(Laya.ShurikenParticleRenderer); p3dRenderer.particleSystem.simulationSpeed = 10; } 通过暴露@property( { type :Laya.Sprite3D } )节点类型...
来源: Laya3.0_文档 发布时间: 20241014
...Camera()); moveCamera.addComponent(CameraMoveScript); moveCamera.transform.localPosition = new Laya.Vector3(0, 7, -7); moveCamera.transform.rotate(new Laya.Vector3(-45, 180, 0), true, false); Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { this.index = 0; //获取每次生成路径 this._ever...
来源: Laya_示例 发布时间: 20241124
....transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.localPosition = new Laya.Vector3((i-5)*boxSize*1.1,0,j*boxSize*1.1-1); var material = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); material.albedo = new Laya.Vector4(1,0,1,1);...
来源: Laya_社区 发布时间: 20180117
...plete() { setMaterials(scene.getChildByName("scene")); layaPlane.transform.localPosition = new Laya.Vector3(0, 0.5, -1); Laya.loader.load(["../../res/threeDimen/ui/button.png"], Laya.Handler.create(null, function () { var changeActionButton = Laya.stage.addChild(new Laya.Button("../../res/threeDimen...
来源: Laya_示例 发布时间: 20241124