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

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

21. laya.display.Sprite_API3.0 [ 84%]

...otY = 0;//设置 sprite 对象的垂直方法轴心点坐标。 Laya.stage.addChild(sprite);//将此 sprite 对象添加到显示列表。 sprite.on(Event.CLICK, this, onClickSprite);//给 sprite 对象添加点击事件侦听。 shape = new Sprite();//创建一个 Sprite 类的实例对象 sprite ...

来源: Laya3.0_api 发布时间: 20231115

22. HTMLIframeElement 使用出错?请大神指点 [ 84%]

... = Laya.HTMLIframeElement; var iHtml = new HTMLIframeElement(); Laya.stage.addChild(iHtml); iHtml.href="http://www.baidu.com"; 一启动运行就现以下错误  Error processing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Program Files\LayaIDE\resources\...

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

23. laya.ui.List_API3.0 [ 84%]

...s, onSelect);//设置 list 改变选择项执行的处理器。 Laya.stage.addChild(list);//将 list 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的项目索引: index= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends Box {...

来源: Laya3.0_api 发布时间: 20231115

24. laya.d3.core.RenderableSprite3D_API3.0 [ 84%]

...ildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

来源: Laya3.0_api 发布时间: 20231115

25. laya.ui.Dialog_API3.0 [ 84%]

.../ui/bg.png"); bg.sizeGrid = "40,10,5,10"; bg.width = 150; bg.height = 250; addChild(bg); var image:Image = new Image("resource/ui/image.png"); addChild(image); var button:Button = new Button("resource/ui/btn_close.png"); button.name = Dialog.CLOSE;//设置button的name属性值。 button.x = 0; butt...

来源: Laya3.0_api 发布时间: 20231115

26. laya.d3.core.light.DirectionLight_API3.0 [ 84%]

...dowTwoCascadeSplits timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

来源: Laya3.0_api 发布时间: 20231115

27. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 84%]

... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

来源: Laya3.0_api 发布时间: 20231102

28. 关于光源的问题 [ 84%]

...ld(this._che_node);   .... //根据情节加载节点 this._curnode=scene.addChild(this._che_node); 上面加载的节点光照会出问题     2017-12-15 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liuzhengcai 相关问题 发起...

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

29. laya.ui.Label_API3.0 [ 83%]

...bel 的宽度。 label.height = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到我心里话。");//创建一个 Label 类的实例对象 passwordLabel 。 passwordLabel.asPasswor...

来源: Laya3.0_api 发布时间: 20231115

30. laya.d3.core.Sprite3D [ 83%]

...更新 Sprite3D  _updateConch(state:RenderState):void 更新 Sprite3D  addChild(node:Node):Node[override] 添加子节点。 Sprite3D  addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node  a...

来源: laya_api 发布时间: 20170929