大约有 414 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0068 秒)
Laya_社区(179) Laya3.0_api(64) Laya2.0_api(62) laya_api(56) Laya2.0_文档(35) Laya3.0_文档(8) Laya_示例(7) Laya2.0_示例(3)
...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...
来源: laya_api 发布时间: 20170929
...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
...agelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为...
来源: laya_api 发布时间: 20170422
...s | Events Packagelaya.uiClasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、...
来源: laya_api 发布时间: 20170929
sprite.loadImage加载图片怎么设置要显示的x,y坐标和宽高? 代码: import TiledMap = Laya.TiledMap; class GameMain{ private tMap:TiledMap; constructor() { Laya.init(935, 224, Laya.WebGL); this.tMap = new TiledMap(); var viewRect: Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage...
来源: Laya_社区 发布时间: 20190214
...vents Packagelaya.uiClasspublic class ButtonInheritanceButton UIComponent Sprite Node EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和...
来源: Laya2.0_api 发布时间: 20190513
...gelaya.uiClasspublic class TextInputInheritanceTextInput Label UIComponent Sprite Node EventDispatcher ObjectSubclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: Laya2.0_api 发布时间: 20190513
...色 var redFilter:ColorFilter = new ColorFilter(redMat); ``` 最后通过Spriter的filters属性将颜色滤镜效果叠加到位图中。下面我们创建一个Main.as入口类,并设置为默认应用程序(推荐用FlashBuilder),编写代码如下: ```java package { import laya.display...
来源: Laya2.0_文档 发布时间: 20210715
....addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var translate = new Laya.Vector3(0, 0, 0); //(500, 500, 0)改为(0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HI...
来源: Laya_社区 发布时间: 20170807