大约有 248 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0052 秒)
Laya_社区(142) Laya_示例(42) Laya3.0_api(21) Laya2.0_api(17) laya_api(15) Laya2.0_文档(7) Laya3.0_文档(4)
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //点光源 var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya....
来源: Laya_示例 发布时间: 20241124
...ya/d3/RenderObjs/NativeOBJ/NativeTransform3D.ts:14 Static tmpVec3 tmpVec3: Vector3 = new Vector3() Inherited from Transform3D.tmpVec3 Defined in laya/d3/core/Transform3D.ts:882 Accessors localMatrix get localMatrix(): Matrix4x4 set localMatrix(value: Matrix4x4): void Overrides Transform3D.localMatri...
来源: Laya3.0_api 发布时间: 20231115
...项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Came...
来源: Laya_示例 发布时间: 20241124
...dChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.addComponent(CameraMoveScript); //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color...
来源: Laya_示例 发布时间: 20241124
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direct...
来源: Laya_示例 发布时间: 20241124
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete...
来源: Laya_示例 发布时间: 20241124
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.dire...
来源: Laya_示例 发布时间: 20241124
...ene.addChild(new Laya.Camera( 0, 0.1, 100)); camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, 1.5)); camera1.normalizedViewport = new Laya.Viewport(0, 0, 0.5, 1.0); var camera2 = scene.addChild(new Laya.Camera( 0, 0.1, 100)); camera2.clear...
来源: Laya_示例 发布时间: 20241124
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By x : NumberX轴...
来源: Laya2.0_api 发布时间: 20190513
...ngDetailTextureInfo normalTexture : StringDetailTextureInfo offset : Vector2DetailTextureInfo scale : Vector2DetailTextureInfoPublic Methods MethodDefined By DetailTextureInfo()DetailTextureInfoProperty DetaildiffuseTexturepropertypublic var diffuseTexture:StringnormalTextureproperty ...
来源: Laya2.0_api 发布时间: 20190513