大约有 978 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0105 秒)
Laya_社区(516) Laya3.0_api(117) Laya2.0_文档(110) Laya2.0_api(94) laya_api(83) Laya_示例(40) Laya3.0_文档(18)
... var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射...
来源: Laya2.0_文档 发布时间: 20210715
...; //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position=new Laya.Vector3(-8, 4, 15); //旋转摄像机角度 camera.transform.rotate(new Laya.Vector3( -8, -25, 0), true, false); })) } return Main; } ()); Main(); laya2.0的3d尝试,新人,看不懂这是...
来源: Laya_社区 发布时间: 20180919
...存放计算出的坐标X值、Y值、ScaleX值、ScaleY值。 Utils getTransformRelativeToWindow(coordinateSpace:Sprite, x:Number, y:Number):Object[static] 获取指定区域内相对于窗口左上角的transform。 Utils measureText(txt:String, font:String):*[static] 测量文本在指定...
来源: laya_api 发布时间: 20170929
... var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射...
来源: Laya2.0_文档 发布时间: 20210715
...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildr...
来源: Laya3.0_api 发布时间: 20231115
...scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close closeAll closeByGroup contains custom...
来源: Laya3.0_api 发布时间: 20231115
...._renderAll (http://192.168.1.11/slider/lib ... 243668) at d.g.transform_drawLayaGL [as _fun] (http://192.168.1.11/slider/libs/laya.core.js:1:8243) at f.t.render (http://192.168.1.11/slider/lib ... 378119) at d.g.transform_drawN 2019-08-21 0 2 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190821
...amera3d = new Camera(0, 0.1, 300); _scene3d.addChild(_camera3d); _camera3d.transform.translate(new Vector3(0, 0, 150)); _camera3d.clearColor = null; _camera3d.orthographicProjection = true; _camera3d.transform.rotationEuler = new Vector3(Tools.A2R(-30), Tools.A2R(45)); 当3dcamera有旋转的情况...
来源: Laya_社区 发布时间: 20161226
...scaleY scene scrollRect skewX skewY source stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRender destroy dest...
来源: Laya3.0_api 发布时间: 20231115
... var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射...
来源: Laya2.0_文档 发布时间: 20210715