• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0057 秒)

981. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 46%]

... Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //图像资源 var res:Array = [ "../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png", "../../../../res/ui/tree/cl...

来源: Laya2.0_文档 发布时间: 20210715

982. Sprite3D添加组件或脚本(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 46%]

...t = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey:Sprite3D = Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //精灵添加脚本 monkey.addComponent(MonkeyScript); scene.addChild(monkey); } ``...

来源: Laya2.0_文档 发布时间: 20210714

983. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 46%]

...t = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,...

来源: Laya2.0_文档 发布时间: 20210715

984. TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 [ 46%]

...处于按下状态”? 动画混合无效(版本2.6) 2.0 drawTexture color参数无效 matter.js mouseconstraint在微信小游戏中无效 怎样获取浏览器地址传过来的GET参数 (此问题已经无效) 关于同为object层,层级设置无效的问题 LayaAir3D UnityPlug 1.7.1...

来源: Laya_社区 发布时间: 20170410

985. laya.d3.core.light.LightSprite [ 46%]

...erarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D  color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node  diffuseColor : Vector3 ...

来源: laya_api 发布时间: 20170929

986. LayaAir3D基础数学工具(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 46%]

...为颜色赋值: ```typescript //设置方向光的颜色 directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** ​ 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插...

来源: Laya2.0_文档 发布时间: 20210714

987. LayaAir3D基础数学工具(JavaScript-3D基础(JS)-LayaAir3D图形系统基础概念) [ 46%]

...为颜色赋值: ```typescript //设置方向光的颜色 directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** ​ 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插...

来源: Laya2.0_文档 发布时间: 20210715

988. JSON文件加载成功后,怎么解析成Object对象 [ 46%]

...tage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap = true; txt.color = "#FF9632"; Laya.stage.addChild(txt); var test:Object = JSON.parse('{"id": 0, "name": "Chen"}'); traceMsg(test['id']); traceMsg(test['name']); var jsonURL:String = "res/json/config.json"; traceMsg("加载: " + jsonURL)...

来源: Laya_社区 发布时间: 20180227

989. 如何实现聊天图文混排的聊天 气泡背景效果? [ 46%]

...MLDivElement,但是style里不能设置background为图片啊,只能为color 在html里是这样写的 <span>右边</span>     <div style="width:422px;">         <img style= " display:inline;  float:right; " src="Face/img_duihua_qipao_green_01.png "></img>...

来源: Laya_社区 发布时间: 20170710

990. LayaAir3D基础数学工具(ActionScript-3D基础(AS3)-LayaAir3D图形系统基础概念) [ 46%]

...为颜色赋值: ```typescript //设置方向光的颜色 directionLight.color = new Vector3(0.6, 0.6, 0.6); ``` **四元数(Quaternion)** ​ 四元数在LayaAir中用于计算旋转。它们计算紧凑高效,不受万向节锁的困扰,并且可以很方便快速地进行球面插值。...

来源: Laya2.0_文档 发布时间: 20210715