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

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

191. laya.media.Sound [ 56%]

...rties | Methods Packagelaya.mediaClasspublic class SoundInheritanceSound EventDispatcher Object Sound 类是用来播放控制声音的类。 引擎默认有两套声音方案,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上有兼容问...

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

192. laya.resource.Texture [ 55%]

...All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By  _atlasID : int = -1Texture ...

来源: laya_api 发布时间: 20170929

193. laya.d3.core.material.PBRMaterial_API3.0 [ 55%]

...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...

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

194. laya.net.LoaderManager [ 55%]

...asses | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访...

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

195. laya.resource.Texture [ 54%]

...All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D 获取位图。 Texture  destroy...

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

196. laya.d3.core.TransformUV [ 54%]

...ds Packagelaya.d3.coreClasspublic class TransformUVInheritanceTransformUV EventDispatcher ObjectImplements laya.d3.core.IClone TransformUV 类用于实现UV变换。 Public Properties PropertyDefined By  matrix : Matrix4x4[read-only] 取变换矩阵。 TransformUV  offset : Vector2 取偏移...

来源: laya_api 发布时间: 20170929

197. laya.display.Sprite_API3.0 [ 54%]

...一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef"...

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

198. tiledMap场景切换问题 [ 54%]

...troy() 150*****745 • 2018-06-05 12:06 我用的是Laya.stage.on(Laya.Event.CLICK, this, function (e) {}),请问怎么销毁,销毁以后到下一个页面要重新绑定事件吗? Laya_Aaron • 2018-06-05 14:56 @150*****745:你的代码不给我讲我很难找到你说的这段,stage ...

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

199. laya.net.Loader [ 54%]

...All Classes | Index | Frames No Frames LoaderProperties | Methods | Events | Constants Packagelaya.netClasspublic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By  cache ...

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

200. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 54%]

...tion; } } /** * 监听鼠标事件 */ onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.camera = (<Laya.Camera>this.owner); } /** * 监听键盘事件 */ onUpdate(): void { var elapsedTime: number = Laya.t...

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