大约有 1,216 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0054 秒)
Laya3.0_api(405) Laya_社区(358) Laya2.0_api(224) laya_api(168) Laya2.0_文档(31) Laya3.0_文档(20) Laya2.0_示例(7) Laya_示例(3)
...2.0中不生效 laya中代码:export default class Test { public static onClick():void{ alert("123456"); } public static onClick1():void{ } } 原生中代码:ConchJNI.RunJS("Test.onClick()"); 原生中报错:ReferenceError: Test is not defined...
来源: Laya_社区 发布时间: 20190313
...ource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static AVATAR AVATAR: string = "AVATAR" Defined in laya/d3/core/Avatar.ts:15 Avatar资源。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:18 Accessors cpuMemory get cp...
来源: Laya3.0_api 发布时间: 20231102
...RDefaultDFG Index Accessors defaultDFG Methods DefaultDfgTexture Accessors Static defaultDFG get defaultDFG(): Texture2D set defaultDFG(value: Texture2D): void Defined in laya/d3/shader/pbr/PBRDefaultDFG.ts:13 Returns Texture2D Defined in laya/d3/shader/pbr/PBRDefaultDFG.ts:16 Parameters value: Text...
来源: Laya3.0_api 发布时间: 20231102
...dBox createfromPoints(points:Vector.<Vector3>, out:BoundBox):void[static] 从顶点生成包围盒。 BoundBox getCenter(out:Vector3):void 获取中心点。 BoundBox getCorners(corners:Vector.<Vector3>):void 获取包围盒的8个角顶点。 BoundBox getExtent(out:Vector3):...
来源: Laya2.0_api 发布时间: 20190513
...,无需renderTarget支持。 Sprite CharacterCache : Boolean = true[static] Text color : String 表示文本的颜色值。可以通过 Text.defaultColor 设置默认颜色。 默认值为黑色。 Text customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开...
来源: Laya2.0_api 发布时间: 20190513
...有看到的东西全部截取下载,测试小游戏正常可用 private static _sp: Laya.Sprite = null; private static tempTexture2D: Laya.Texture2D; private static tempTexture: Laya.Texture; /**截图 */ public static drawScreenshot(width, height, x, y) { if (!SwitchHelper.screenDraw) { return n...
来源: Laya_社区 发布时间: 20191016
...。 y y: number Defined in laya/maths/Point.ts:16 该点的垂直坐标。 Static TEMP TEMP: Point = new Point() Defined in laya/maths/Point.ts:9 临时使用的公用对象。 Methods copy copy(point: Point): Point Defined in laya/maths/Point.ts:93 copy point坐标 Parameters point: Point 需要被...
来源: Laya3.0_api 发布时间: 20231115
...t viewport: Rectangle Defined in laya/display/css/SpriteStyle.ts:32 视口 Static Readonly EMPTY EMPTY: Readonly<SpriteStyle> = new SpriteStyle() Defined in laya/display/css/SpriteStyle.ts:11 Methods recover recover(): void Defined in laya/display/css/SpriteStyle.ts:65 回收 Returns void rese...
来源: Laya3.0_api 发布时间: 20231115
...gth Defined in laya/RenderEngine/UniformBufferObject.ts:66 all byte length Static UBONAME_CAMERA UBONAME_CAMERA: string = "CameraUniformBlock" Inherited from NativeUniformBufferObject.UBONAME_CAMERA Defined in laya/RenderEngine/UniformBufferObject.ts:12 Static UBONAME_SCENE UBONAME_SCENE: string = "...
来源: Laya3.0_api 发布时间: 20231115
...为注。 Public Properties PropertyDefined By instance : Accelerator[static] [read-only] AcceleratorPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Accelerator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 Ev...
来源: laya_api 发布时间: 20170929