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

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

71. Sprite-显示图片 [ 97%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser...

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

72. 射线检测-射线检测 [ 97%]

...angZi/PangZi-doubipangzi.lm"], Laya.Handler.create(this, onComplete)); var sprite3d1; var sprite3d2; var sprite3d3; var sprite3d4; var sphereMesh; var str5 = "旁白 : 秀恩爱,死得快! (MeshCollider)"; function onComplete(){ //添加精灵到场景 sprite3d1 = scene.addChild(new Laya.MeshSpr...

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

73. laya.ui.MoreGame [ 97%]

...ts Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarc...

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

74. laya.ui.CheckBox [ 97%]

...agelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...

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

75. laya.ui.ColorPicker [ 97%]

...ackagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Property...

来源: laya_api 发布时间: 20170929

76. laya.ui.View [ 97%]

...thods | Events Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Sho...

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

77. laya.ui.CheckBox [ 97%]

...ckagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...

来源: laya_api 发布时间: 20170929

78. sprite添加texture后,sprite无法触发点击事件? [ 97%]

sprite添加texture后,sprite无法触发点击事件? this.item.graphics.drawTexture(Laya.loader.getRes(IMG_RES[this.name])); Laya.stage.addChild(this.item);  this.item.on(Laya.Event.CLICK, this, () => { this.item.destroy(); }); 2017-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

79. laya.ani.bone.Skeleton [ 97%]

... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...

来源: laya_api 发布时间: 20170929

80. Sprite-容器 [ 97%]

...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Sprite_Container { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV ...

来源: Laya2.0_示例 发布时间: 20240930