大约有 1,062 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(409) Laya2.0_api(226) Laya_社区(219) laya_api(168) Laya2.0_文档(20) Laya3.0_文档(10) Laya2.0_示例(7) Laya_示例(3)
...已经string int 都是可以返回的 ,但是byte能获取到么 比如 public static byte getBytes() { byte dd2 = new byte{12, 3, 0}; return dd2; } public static Bitmap getBitmap() { } 可以在laya ts代码中获取到么 var byt = bridge.call("getBitmap"); 2025-09-17 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20250917
... _shaderValues 与 shader uniform。 ```javascript //绑定漫反射贴图 public static ALBEDOTEXTURE = Laya.Shader3D.propertyNameToID("u_AlbedoTexture"); //绑定描边颜色 public static OUTLINECOLOR = Laya.Shader3D.propertyNameToID("u_OutlineColor"); //绑定描边宽度 public static OUTLINEWI...
来源: Laya2.0_文档 发布时间: 20210715
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/FillTextureCmd" FillTextureCmd Class FillTextureCmd 填充贴图 Hierarchy FillTextureCmd Index Properties color height offset perce...
来源: Laya3.0_api 发布时间: 20231115
...source.Texture; import laya.utils.Handler; import laya.display.BitmapFont; public class TestBitmapFont { //自定义文件名称 private var mFontName:String = "diyFont"; private var mBitmapFont:BitmapFont; public function TestBitmapFont() { Laya.init(550, 400); mBitmapFont = new BitmapFont(); //这...
来源: Laya2.0_文档 发布时间: 20201114
... LocalStorage类里的Storage 类里的init()方法 (第94行), public static function init():void { __JS__("try{Storage.items=window.localStorage;Storage.setItem('laya', '1');Storage.removeItem('laya');Storage.support = true;} catch(e){}if(!Storage.support)console.log('LocalStorage is not...
来源: Laya_社区 发布时间: 20180703
...a.Tween; import WebGL = Laya.WebGL; export class Interaction_CustomEvent { public static ROTATE: string = "rotate"; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya....
来源: Laya_示例 发布时间: 20251209
...用demo就报这个错误。 Yangcy • 2018-08-03 11:45 /** @private **/ public class MiniFileMgr{ /**@private 读取文件操作接口**/ private static var fs:* = __JS__('wx.getFileSystemManager()'); /**@private 下载文件接口**/ private static var wxdown:* = __JS__('wx.downloadFile'); 这个...
来源: Laya_社区 发布时间: 20180725
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/command/BlitFrameBufferCMD" BlitFrameBufferCMD Class BlitFrameBufferCMD 类用于创建从渲染源输出到渲染目标的指令...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawTrianglesCmd" DrawTrianglesCmd Class DrawTrianglesCmd 绘制三角形命令 Hierarchy DrawTrianglesCmd Index Properties alpha bl...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorStateCondition" AnimatorStateBoolCondition Class AnimatorStateBoolCondition Hierarchy AnimatorStateCondition AnimatorStateBoo...
来源: Laya3.0_api 发布时间: 20231115