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

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

501. laya.renders.VertexElement_API3.0 [ 66%]

...rs/VertexElement" VertexElement Class VertexElement VertexElement 类用于创建顶点结构分配。 Hierarchy VertexElement Index Constructors constructor Accessors elementFormat elementUsage offset Constructors constructor new VertexElement(offset: number, elementFormat: string, elementUsage: nu...

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

502. laya.ui.TextInput_API3.0 [ 66%]

...u Globals "laya/ui/TextInput" TextInput Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_E...

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

503. 3D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...)的setBuffer方法设置对应的uniform缓冲区。 在示例中,我们创建了一个长度为 4 * 20 的Float32Array(即colorBuffer),作为uniform vec4 colormap[20]的数据源,包含20种不同的颜色信息。 在实现过程中,我们为每个节点生成随机颜色索引(colorI...

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

504. laya.ui.TextArea [ 66%]

...Input Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": ...

来源: laya_api 发布时间: 20170929

505. Dialog:屏蔽点击Dialog之外的区域关闭弹框 [ 66%]

...17-12-21 0 4 分享 微博 QZONE 微信 庆乐 赞同来自: instance代表创建的弹窗实例   instance.close = function(type = null) { if (!type) return // 这儿加一层限制,所有未知原因的关闭弹窗都不生效 this.closeType = type; Laya.Dialog.manager.close(this); } 2020-07-08...

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

506. laya.d3.core.QuaternionKeyframe_API3.0 [ 66%]

...e" QuaternionKeyframe Class QuaternionKeyframe QuaternionKeyframe 类用于创建四元数关键帧实例。 Hierarchy Keyframe QuaternionKeyframe Implements IClone Index Constructors constructor Properties inTangent inWeight outTangent outWeight time value weightedMode defaultWeight Methods clone c...

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

507. laya.ui.Tab [ 66%]

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

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

508. Animation模板动画的移除 [ 66%]

...复被折叠 要回复问题请先登录 发起人 cuixueying 相关问题 创建动效模板 可能存在bug 动效模板bug 为什么在编辑器下正常的animation,运行时有原件会错乱? 关于动画模板 除了官网的介绍有没有什么比较好的 实例 或者demo的没有?...

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

509. laya.d3.component.volume.batchvolume.BatchRender_API3.0 [ 66%]

...structor Defined in laya/d3/component/Volume/BatchVolume/BatchRender.ts:22 创建一个 BatchRender 实例。 Returns BatchRender Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 _receiveShadow _receiveShadow: boolean Inher...

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

510. laya.ui.CheckBox [ 66%]

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

来源: laya_api 发布时间: 20170929