大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0075 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...a.display.Sprite; import laya.display.Stage; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
...建项目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + '';...
来源: Laya2.0_文档 发布时间: 20210715
...ory=3d&group=Sprite3D&name=ScriptSample))。 > 主类: > ```typescript public function ScriptSample() { //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel...
来源: Laya2.0_文档 发布时间: 20210714
...出问题 */ export default class PoolManager { static _instance:any; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManager()) } //初始化 //加载到内存中创建出来之...
来源: Laya_社区 发布时间: 20191206
...置 /**全速模式,以60的帧率运行。*/ public static const FRAME_FAST:String = "fast"; /**慢速模式,以30的帧率运行。*/ public static const FRAME_SLOW:String = "slow"; /**自动模式,以30的帧率运行,但...
来源: Laya_社区 发布时间: 20170610
...ames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show I...
来源: Laya2.0_api 发布时间: 20190513
...a.display.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class MaskDemo { private var Res:String; private var img:Sprite; public function MaskDemo() { Laya.init(1136,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //资源路径 Res = "res/img/monkey1.png"; //...
来源: Laya2.0_文档 发布时间: 20210714
...ames No Frames TextAreaProperties | Methods | Events Packagelaya.uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inh...
来源: laya_api 发布时间: 20170929
...ses | Index | Frames No Frames PickerMethods Packagelaya.d3.utilsClasspublic class PickerInheritancePicker Object Picker 类用于创建拾取。 Public Methods MethodDefined By Picker() 创建一个 Picker 实例。 Picker calculateCursorRay(point:Vector2, viewPort:Viewport, projection...
来源: laya_api 发布时间: 20170929
...s No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properties Hide Inherited Public Properties Show Inherited Public P...
来源: laya_api 发布时间: 20170929