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

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

141. sprite做的按钮点击无反应? [ 96%]

sprite做的按钮点击无反应? 代码如下: var dialog_mc:Sprite = new Sprite(); Laya.stage.addChild(dialog_mc); var w:int = 110; var h:int = 40; var btn:Sprite = new Sprite(); btn.size(w, h); btn.graphics.drawRect((stageWd - w) * 0.5, (stageHt - h) * 0.5-50, w, h, "#FF7F50"); btn.graphics...

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

142. Sprite3D-Sprite3D加载 [ 96%]

...ya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_N...

来源: Laya_示例 发布时间: 20240930

143. 将sprite的renderType设为mask以后,无法通过name名称来获取sprite [ 96%]

sprite的renderType设为mask以后,无法通过name名称来获取spritesprite的renderType设为mask以后,无法通过设置的name名称来获取sprite组件,而去掉mask属性则正常,什么原因? 2018-01-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

144. laya.ui.Dialog [ 96%]

...Packagelaya.uiClasspublic class DialogInheritanceDialog View Box Component Sprite Node EventDispatcher ObjectSubclasses AsynDialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边...

来源: laya_api 发布时间: 20170929

145. 求解:能通过改变Sprite的宽高,让Sprite里的Child缩放吗?【附图】 [ 96%]

求解:能通过改变Sprite的宽高,让Sprite里的Child缩放吗?【附图】 Flash是可以缩放的。 是不是我我使用Laya的姿势不对..Laya要通过什么方式实现呢?求解求解.. 附件 : --> 2017-04-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

146. laya.ui.Label [ 96%]

...| Events Packagelaya.uiClasspublic class LabelInheritanceLabel Component Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929

147. laya.ui.ComboBox [ 96%]

...s Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox UIComponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

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

148. laya.d3.core.light.PointLight [ 96%]

...gelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建点光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自...

来源: laya_api 发布时间: 20170929

149. laya.d3.core.light.DirectionLight [ 96%]

...3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean ...

来源: laya_api 发布时间: 20170929

150. laya.ui.ComboBox [ 96%]

...nts Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

来源: laya_api 发布时间: 20170929