大约有 565 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0038 秒)
Laya3.0_api(166) Laya2.0_api(116) laya_api(115) Laya_社区(78) Laya_示例(39) Laya2.0_文档(37) Laya3.0_文档(14)
...ds Defined in laya/d3/component/HLOD/HLODUtil.ts:21 drawPramas drawPramas: Vector2 Defined in laya/d3/component/HLOD/HLODUtil.ts:22 Globals "laya/d3/component/HLOD/HLODUtil" HLODBatchSubMesh bounds drawPramas HLODConfig HLODElement HLODResourceGroup Legend Object literal Variable Function Type alias...
来源: Laya3.0_api 发布时间: 20231115
...ya.Camera; camera.orthographic = true; camera.transform.translate(new Laya.Vector3(0, 4, 8),false); camera.transform.lookAt(new Laya.Vector3(0,0,0),new Laya.Vector3(0,1,0)); //创建方向光 var light:Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //移动...
来源: Laya_社区 发布时间: 20180302
...gScene() { MousePickingScene.super(this); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); this.phasorSpriter3D = new Laya.PhasorSpriter3D(); this.camera = this.addChild(new Laya.Camera(0, 0.1, 1...
来源: Laya_社区 发布时间: 20170323
...let obj = sp; let obj = scene.addChild(sp); obj.transform.scale = new Laya.Vector3(4, 4, 4); obj.transform.rotate(new Laya.Vector3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,...
来源: Laya_社区 发布时间: 20200611
...Laya.RaycastHit; constructor() { super(); this.ray = new Laya.Ray(new Laya.Vector3(0,0,0),new Laya.Vector3(0,-2,0)); this.outHitInfo = new Laya.RaycastHit(); } /*覆写3D组件方法,指3D对象加载组件时执行 *owner:此组件所属的3D对象 */ public _load(owner:Laya.Sprite3D):void{ //...
来源: Laya_社区 发布时间: 20171113
...ial.StandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vector2; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; impor...
来源: Laya_示例 发布时间: 20241119
...new DirectionLight()) as DirectionLight; directionLight.ambientColor = new Vector3(0.6, 0.6, 0.6); directionLight.specularColor = new Vector3(0.6, 0.6, 0.6); directionLight.diffuseColor = new Vector3(0.6, 0.6, 0.6); directionLight.direction = new Vector3(1, -1, 0); 2017-03-20 0 2 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170319
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20171108
...e test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>; private camera: Laya.Camera; private label: Laya.Label; constructor() { L...
来源: Laya_社区 发布时间: 20180820
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) 2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ༺永洹༻ 相关...
来源: Laya_社区 发布时间: 20180819