大约有 618 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
Laya3.0_api(242) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_社区(20) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...exType:String, indexCount:int, bufferUsage:int = 0x88E4, canRead:Boolean = false) 创建一个 IndexBuffer3D,不建议开发者使用并用IndexBuffer3D.create()代替 实例。 IndexBuffer3D _bindForVAO():void[override] IndexBuffer3D bind():Boolean[override] IndexBuffer3D destroy():void[ov...
来源: Laya2.0_api 发布时间: 20190513
...rties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Defined in laya/d3/physics/shape/ColliderShape.ts:14 形状方向_X轴正向 Static SHAPEORIENTATION_UPY...
来源: Laya3.0_api 发布时间: 20231115
...为泛光特效增加污渍灰尘效果BloomEffect fastMode : Boolean = false是否开启快速模式。该模式通过降低质量来提升性能。BloomEffect intensity : Number 获取泛光过滤器强度,最小值为0。 BloomEffect softKnee : Number 获取软膝盖过渡强度,在阈...
来源: Laya2.0_api 发布时间: 20190513
...fer3D(indexType:String, indexCount:int, bufferUsage:int, canRead:Boolean = false) 创建一个 IndexBuffer3D,不建议开发者使用并用IndexBuffer3D.create()代替 实例。 IndexBuffer3D _bind():voidBuffer getData():Uint16Array 获取索引数据。 IndexBuffer3D setData(data:*, bufferOf...
来源: laya_api 发布时间: 20170929
...: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture = new Texture(t2d); let sp2:Sprite = new Sprite(); //使用Sprite对象的绘制纹理方式 sp2.graphics.drawTexture(texture, 150,...
来源: Laya3.0_文档 发布时间: 20230303
...js-1-2-5Public Properties PropertyDefined By autoScaleSize : Boolean = false表示是否根据实际使用的字体大小缩放位图字体大小。BitmapFont fontSize : Number = 12当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置...
来源: Laya2.0_api 发布时间: 20190513
...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器...
来源: Laya3.0_api 发布时间: 20231115
...后,是否自动销毁(销毁节点和使用到的资源),默认为false,此属性由场景类继承而来。 拖动区域 dragArea 拖动区域(格式:x,y,width,height),默认值为"0,0,0,0" 模式窗口 isModal 是否是模式窗口,默认为false。为模式窗口时,点击...
来源: Laya3.0_文档 发布时间: 20251024
...rgs: any[] = null, coverBefore: boolean = true): void { this._create(true, false, delay, caller, method, args, coverBefore); } 使用示例如下: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptB...
来源: Laya3.0_文档 发布时间: 20251010
...tic] 缓存资源。 Loader clearRes(url:String, forceDispose:Boolean = false):void[static] 清理指定资源地址的缓存。 Loader clearResByGroup(group:String):void[static] 根据分组清理资源。 Loader endLoad(content:* = null):void 结束加载,处理是否缓存及派发完...
来源: laya_api 发布时间: 20170929