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

大约有 468 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0102 秒)

371. laya.ui.ViewStack_API3.0 [ 40%]

...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...

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

372. laya.d3.math.Matrix4x4_API3.0 [ 40%]

...bals "laya/d3/math/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRol...

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

373. laya.ui.RadioGroup_API3.0 [ 39%]

...户每次只能选择一个 Radio 控件。 example 以下示例代码,创建了一个 RadioGroup 实例。 package { import laya.ui.Radio; import laya.ui.RadioGroup; import laya.utils.Handler; public class RadioGroup_Example { public function RadioGroup_Example() { Laya.init(640, 800);//设置游...

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

374. laya.resource.RenderTextureCube_API3.0 [ 39%]

...rTextureCube" RenderTextureCube Class RenderTextureCube SpotLight 类用于创建RenderTextureCube。 Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately faceIndex ...

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

375. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 39%]

...eRenderTexture Class MulSampleRenderTexture MulSampleRenderTexture类用于创建多重采样渲染目标 webGL2.0多重采样才会生效 Hierarchy RenderTexture MulSampleRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _inPool _isCameraTarget _render...

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

376. laya.resource.BaseTexture_API3.0 [ 39%]

...URL Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...

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

377. laya.ui.Tab_API3.0 [ 39%]

...* 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef...

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

378. laya.d3.core.render.command.CommandBuffer_API3.0 [ 38%]

...nd/CommandBuffer" CommandBuffer Class CommandBuffer CommandBuffer 类用于创建命令流。 Hierarchy CommandBuffer Index Constructors constructor Accessors casterShadow context name Methods _apply _applyOne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget ...

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

379. laya.ui.Label_API3.0 [ 38%]

...nly exported Menu Globals "laya/ui/Label" Label Class Label Label 类用于创建显示对象以显示文本。 example 以下示例代码,创建了一个 Label 实例。 package { import laya.ui.Label; public class Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游...

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

380. laya.ui.Tree_API3.0 [ 38%]

...plete)); } private function onLoadComplete():void { var xmlString:String;//创建一个xml字符串,用于存储树结构数据。 xmlString = "<root><item label='box1'><abc label='child1'/><abc label='child2'/><abc label='child3'/&amp...

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