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

大约有 645 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0063 秒)

101. 如何根据对象获取该对象类名?以前的用法在这边获取不了了。。。 [ 77%]

...该对象类名?以前的用法在这边获取不了了。。。 以前通过对象获取类名方法: obj.__class__和obj["__class__"]. 2017-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 lvfy 赞同来...

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

102. 关于Matrix4x4的getForward方法 [ 77%]

...me:String)方法 源代码中Handler中的setTo()方法 laya里面有没有通过一个类的名字(字符串)来获取该类的方法?类似get class by name ts如何通过文件集加载的方法预加载声音文件,然后再调用 问题状态 最新活动: 2017-10-10 20:43 浏览: 1481 关...

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

103. laya.ani.bone.BoneSlot_API3.0 [ 77%]

...wDisplayByName(name: string): void Defined in laya/ani/bone/BoneSlot.ts:74 通过名字显示指定对象 Parameters name: string Returns void showSlotData showSlotData(slotData: SlotData, freshIndex?: boolean): void Defined in laya/ani/bone/BoneSlot.ts:62 设置要显示的插槽数据 Parameters s...

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

104. laya.d3.core.MeshSprite3D [ 77%]

...节点的索引位置。 Node getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>...

来源: laya_api 发布时间: 20170929

105. laya.ani.bone.Templet [ 77%]

...void[override] 释放纹理 Templet  getAniNameByIndex(index:int):String 通过索引得动画名称 Templet  getSkinIndexByName(skinName:String):int 通过皮肤名字得到皮肤索引 Templet  getTexture(name:String):Texture 得到指定的纹理 Templet  loadAni(url:String):voidTemplet ...

来源: Laya2.0_api 发布时间: 20190513

106. laya.ui.Dialog_API3.0 [ 76%]

...对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果...

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

107. laya.d3.core.Sprite3D [ 76%]

...点的索引位置。 Node  getComponentByIndex(index:int):Component3D 通过指定索引获得组件。 Sprite3D  getComponentByType(type:*, typeIndex:int = 0):Component3D 通过指定类型和类型索引获得组件。 Sprite3D  getComponentsByType(type:*, components:Vector.<Component3D&...

来源: laya_api 发布时间: 20170929

108. laya.display.Text [ 76%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...

来源: laya_api 发布时间: 20170929

109. laya.display.Text [ 76%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"...

来源: Laya2.0_api 发布时间: 20190513

110. Spine骨骼动画 · LayaAir3.0文档 · LAYABOX [ 75%]

...动画,是游戏中经常使用的骨骼动画之一,使用Spine工具通过将图片绑定到骨骼上,然后再控制骨骼实现动画。 如何制作Spine骨骼动图,在这里就不介绍了,感兴趣的开发者可以到Spine 官网查看。 LayaAir IDE中支持Spine骨骼动画的...

来源: Laya3.0_文档 发布时间: 20240719