大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...:22 Methods _addShaderInstance _addShaderInstance(shader: ShaderInstance): void Implementation of IRenderElement._addShaderInstance Defined in laya/d3/RenderObjs/RenderObj/RenderElementOBJ.ts:34 Parameters shader: ShaderInstance Returns void _clearShaderInstance _clearShaderInstance(): void Implemen...
来源: Laya3.0_api 发布时间: 20231115
...dleAsyncMessage(eventName: string, data: string, cb: Function): Promise<void> { if (eventName == "asyncMessage") { cb("async message from platform"); } } 2. Android 在app/src/main/java/demo/HandleMessageUtils.java添加消息处理代码 public static String handleSyncMessage(String eventName...
来源: Laya3.0_文档 发布时间: 20260122
...例。 CircleShape clone():* 克隆。 BaseShape cloneTo(destObject:*):void[override] CircleShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 CircleShapeProtected ...
来源: laya_api 发布时间: 20170929
...例。 CircleShape clone():* 克隆。 BaseShape cloneTo(destObject:*):void[override] CircleShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void[override] 用于生成粒子初始位置和方向。 CircleShapeProtected ...
来源: Laya2.0_api 发布时间: 20190513
...rs localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Defined in laya/d3/physics/shape/ColliderShape.ts:127 Shape的本地偏移。 Returns Vector3 Defined in laya/d3/physics/shape/ColliderShape.ts:131 Shape的本地偏移。 Parameters value: Vector3 Returns void localRota...
来源: Laya3.0_api 发布时间: 20231115
...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes2/goblins.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAn...
来源: Laya_示例 发布时间: 20260303
...s MethodDefined By __init__():Boolean[static] LocalStorage clear():void[static] 清除本地存储信息。 LocalStorage getItem(key:String):String[static] 获取指定键名的值。 LocalStorage getJSON(key:String):Object[static] 获取指定键名对应的 Object 类型值。 LocalS...
来源: Laya2.0_api 发布时间: 20190513
...D.ts:31 Accessors active get active(): boolean set active(value: boolean): void Inherited from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parame...
来源: Laya3.0_api 发布时间: 20231115
...rs localOffset get localOffset(): Vector3 set localOffset(value: Vector3): void Inherited from CannonColliderShape.localOffset Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:119 Shape的本地偏移。 Returns Vector3 Inherited from CannonColliderShape.localOffset Defined in laya/d3/p...
来源: Laya3.0_api 发布时间: 20231102
... EmitterSphere 实例。 EmitterSphere advanceTime(passedTime:Number = 1):void 时钟前进 EmitterBase clear():void 清理当前的活跃粒子 EmitterBase emit():void[override] 球发射器发射函数。 EmitterSphere start(duration:Number):void 开始发射粒子 EmitterBase stop():void ...
来源: laya_api 发布时间: 20170603