大约有 1,150 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0066 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...为 项目路径/release/web(web版本发布之后的路径) 3.点击创建 4.创建完成之后再Xcode打开项目,启动之后提示JCFileRes::onDownloadError file error[6]:http://stand.alone.version/libs/laya.physics3D.runtime.js 附件 : --> 3DProject.zip 2020-01-08 添加评论 免...
来源: Laya_社区 发布时间: 20200108
...blic Methods MethodDefined By BaseTexture(format:int, mipMap:Boolean) 创建一个 BaseTexture 实例。 BaseTexture _getSource():*[override] 获取纹理资源。 BaseTexture generateMipmap():void 通过基础数据生成mipMap。 BaseTextureProtected Methods MethodDefined By _dispo...
来源: Laya2.0_api 发布时间: 20190513
...putInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏...
来源: laya_api 发布时间: 20170929
...骨骼动画就使用到了模板,对于同一个动画来说,可以只创建一个动画模板,然后实例多个播放的实例,这样内存中就只有一份的动画数据,但是却可以在舞台上显示多个动画。 代码示例: ```typescript export class SpineBinary { private ...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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
...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
...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
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513