大约有 84 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0146 秒)
...umber材质数组属性 Parameters attributeName: string 属性名称(要对应到Shader中) arrays: Float32Array 数据 attributeLocation: InstanceLocation 属性shader位置(需要与shader中的声明Attribute一一对应) Returns void setVector2Array setVector2Array(attributeName: string...
来源: Laya3.0_api 发布时间: 20231115
...vents/KeyLocation.ts:22 表示激活的键位于数字键盘或者是使用对应于数字键盘的虚拟键激活的。 注意:此属性只在flash模式下有效。 Static RIGHT RIGHT: number = 2 Defined in laya/events/KeyLocation.ts:17 表示激活的键在右侧键位置(此键有多个可...
来源: Laya3.0_api 发布时间: 20231115
...key: string): any Defined in laya/net/LocalStorage.ts:59 获取指定键名对应的 Object 类型值。 Parameters key: string 键名。 Returns any Object 类型值 Static removeItem removeItem(key: string): void Defined in laya/net/LocalStorage.ts:67 删除指定键名的信息。 Parameters key:...
来源: Laya3.0_api 发布时间: 20231115
...SlotDisplayData | null Defined in laya/ani/bone/BoneSlot.ts:32 显示对象对应的数据 currSlotData currSlotData: SlotData Defined in laya/ani/bone/BoneSlot.ts:28 当前插槽对应的数据 currTexture currTexture: Texture | null Defined in laya/ani/bone/BoneSlot.ts:30 当前插槽显示的纹...
来源: Laya3.0_api 发布时间: 20231115
...JS实现Box2D SayGoodbyeParticle 相关类型对象被隐性移除时触发对应的SayGoodBye方法 Hierarchy DestructionListener Index Methods SayGoodbyeFixture SayGoodbyeJoint SayGoodbyeParticle SayGoodbyeParticleGroup Methods SayGoodbyeFixture SayGoodbyeFixture(params: any): void Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...,其 x、y、width 和 height 属性的值与当前 Rectangle 对象的对应值相同。 Parameters Default value out: Rectangle | null = null (可选)用于存储结果的矩形对象。如果为空,则创建一个新的。建议:尽量复用对象,减少对象创建消耗。。Rectang...
来源: Laya3.0_api 发布时间: 20231115
...一个无符号的短整型(以此字节表示要读取的长度)。 对应的写入方法为: writeUTFString 。 Returns string 读取的字符串。 readArrayBuffer readArrayBuffer(length: number): ArrayBuffer Defined in laya/utils/Byte.ts:804 读取ArrayBuffer数据 Parameters length: numbe...
来源: Laya3.0_api 发布时间: 20231115
...: string, item: any): void Defined in laya/utils/Pool.ts:35 将对象放到对应类型标识的对象池中。 Parameters sign: string 对象类型标识字符。 item: any 对象。 Returns void Static recoverByClass recoverByClass(instance: any): void Defined in laya/utils/Pool.ts:46 根据类名...
来源: Laya3.0_api 发布时间: 20231115
...key可以自定义,也可以从指定的配置文件中读取,value为对应的动画模版,是一个Graphics对象数组,每个Graphics对象对应一个帧图像,动画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(....
来源: Laya3.0_api 发布时间: 20231115
...同位图字体 使用方式:设置位图字体皮肤skin,设置皮肤对应的字体内容sheet(如果多行,可以使用空格换行),示例: fontClip.skin = "font1.png";//设置皮肤 fontClip.sheet = "abc123 456";//设置皮肤对应的内容,空格换行。此皮肤为2行5列...
来源: Laya3.0_api 发布时间: 20231115