大约有 1,439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0065 秒)
Laya3.0_api(398) Laya_社区(299) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(70) Laya2.0_示例(22) Laya_示例(17)
使用3D灯光和阴影一、概述二、PointLight2.1 创建点光源2.2 组件属性2.3 使用代码设置三、DirectionLight3.1 创建平行光3.2 组件属性3.3 使用代码设置四、SpotLight4.1 创建聚光4.2 组件属性4.3 使用代码设置五、AreaLight5.1 创建区域光5.2 组件...
来源: Laya3.0_文档 发布时间: 20240624
...mationPlayer(): AnimationPlayer Defined in laya/ani/AnimationPlayer.ts:268 创建一个 AnimationPlayer 实例。 Returns AnimationPlayer Properties isCache isCache: boolean = true Defined in laya/ani/AnimationPlayer.ts:65 是否缓存 playbackRate playbackRate: number = 1 Defined in laya/ani/Animat...
来源: Laya3.0_api 发布时间: 20231115
...始写入。 BytePublic Methods MethodDefined By Byte(data:* = null) 创建一个 Byte 类的实例。 Byte clear():void 清除字节数组的内容,并将 length 和 pos 属性重置为 0。调用此方法将释放 Byte 实例占用的内存。 Byte ensureWrite(lengthToEnsure:int):void...
来源: laya_api 发布时间: 20170929
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...的论文中指出:“信息是用来消除随机不定性的东西”。创建一切宇宙万物的最基本万能单位是信息。 “信息”一词在英文、法文、德文、西班牙文中均是“information”,日文中为“情报”,我国台湾称之为“资讯”,我国古代...
来源: Laya_社区 发布时间: 20180426
...,神奇。 tianxiang233 • 2016-10-26 17:04 @cuixueying:顺便问下,创建的缓冲图集,有接口可以删除吗?不然无法释放内存啊 cuixueying • 2016-10-26 18:01 使用Laya.loader.clearRes可以清理掉缓存的图集
来源: Laya_社区 发布时间: 20161026
...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
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...r3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By x : NumberX轴坐标Vector3 y : NumberY轴坐标Vector3 z : NumberZ轴坐标Vector3Public Methods MethodDefined By Vector3(x:Number = 0, y:Number = 0, ...
来源: Laya2.0_api 发布时间: 20190513
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513