大约有 1,261 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0057 秒)
Laya3.0_api(409) Laya_社区(375) Laya2.0_api(226) laya_api(168) Laya2.0_文档(49) Laya3.0_文档(24) Laya2.0_示例(7) Laya_示例(3)
...iformBufferParamsType> Defined in laya/d3/core/TransLargeUBOUtils.ts:21 Static addStep addStep: number = 512 Defined in laya/d3/core/TransLargeUBOUtils.ts:9 Static configStartLength configStartLength: number = 1024 Defined in laya/d3/core/TransLargeUBOUtils.ts:7 Methods create create(): SubUnifor...
来源: Laya3.0_api 发布时间: 20231102
...Android Studio打开项目,在类JSBridge中添加下列函数: public static String testString(String value) { Log.d("JSBridge", "java: " + value); return "LayaBox"; } public static double testNumber(double value) { Log.d("JSBridge", "java: " + value); return 512; } public static boolean testBool...
来源: Laya3.0_文档 发布时间: 20241023
...id: string Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Defined in laya/resource/Resource.ts:19 是否开启debug模式 Accessors cpuMemory get cpuMemory(): number Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed...
来源: Laya3.0_api 发布时间: 20231115
...有所帮助。 实现功能 1 增加loop类型: loop , pingpongpublic static const LoopType_None:String = "none"; public static const LoopType_Pingpong:String = "pingpong"; public static const LoopType_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color demo如下: ...
来源: Laya_社区 发布时间: 20180905
...Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.i...
来源: Laya2.0_示例 发布时间: 20241119
...Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.i...
来源: Laya_示例 发布时间: 20241119
...ddChild(ground); let groundBody = new Laya.RigidBody(); groundBody.type = "static"; ground.addComponentIntance(groundBody); let chainCollider = ground.addComponent(Laya.ChainCollider); chainCollider.points = "50,600,1050,600"; let point1 = new Laya.Sprite(); Laya.Laya.stage.addChild(point1); point1....
来源: Laya2.0_示例 发布时间: 20241119
...号32位整形随机数。 Returns number 无符号32位整形随机数。 Static getByteFromInt getByteFromInt(v: number): number Defined in laya/d3/math/Rand.ts:20 通过无符号32位整形,获取无符号8位字节随机数。 Parameters v: number Returns number 无符号8位字节随机数。...
来源: Laya3.0_api 发布时间: 20231115
...ource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static ALBEDOCOLOR ALBEDOCOLOR: number Defined in laya/d3/core/material/UnlitMaterial.ts:20 Static ALBEDOTEXTURE ALBEDOTEXTURE: number Defined in laya/d3/core/material/UnlitMaterial.ts:18 Static ALPHATESTVALUE ALPHATESTVALUE:...
来源: Laya3.0_api 发布时间: 20231115
...外内存开销,无需renderTarget支持。 Sprite CAMERA : int = 4[static] Video currentSrc : String[read-only] 获取当前播放源路径。 Video currentTime : Number 设置和获取当前播放头位置。 Video customRenderEnable : Boolean[write-only] 设置是否开启自定义渲...
来源: Laya2.0_api 发布时间: 20190513