大约有 146 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0054 秒)
...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "../../res/ui/vscrol...
来源: Laya_示例 发布时间: 20241117
...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"...
来源: Laya2.0_示例 发布时间: 20241117
...ode.tag Defined in laya/display/Node.ts:62 节点标签 wrapMode wrapMode: number = 0 Inherited from AnimationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBa...
来源: Laya3.0_api 发布时间: 20231115
...Laya.Scene.LIGHTDIRCOLOR, Laya.Shader3D.PERIOD_SCENE] }; var customShader: number = Laya.Shader3D.nameKey.add("CustomShader"); var vs: string = "attribute vec4 a_Position;\n" + "attribute vec2 a_Texcoord;\n" + "attribute vec3 a_Normal;\n" + "uniform mat4 u_MvpMatrix;\n" + "uniform mat4 u_WorldMat;\n...
来源: Laya_示例 发布时间: 20241117
...lic class TiledMapDemo { private var tMap:TiledMap; private var scaleValue:Number = 0; private var MapX:Number = 0; private var MapY:Number = 0; private var mLastMouseX:Number; private var mLastMouseY:Number; public function TiledMapDemo() { //初始化舞台 Laya.init(Browser.width, Browser.height,...
来源: Laya2.0_文档 发布时间: 20210714
...//将此 comboBox 对象添加到显示列表。 } private onSelect(index: number): void { console.log("当前选中的项对象索引: ", index); } } Hierarchy UIComponent ComboBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior itemRen...
来源: Laya3.0_api 发布时间: 20231115
...L = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "../../res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Brows...
来源: Laya_示例 发布时间: 20241117
...L = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.cli...
来源: Laya2.0_示例 发布时间: 20241117
...Group);//将 radioGroup 添加到显示列表。 } private onSelect(index: number): void { console.log("当前选择的单选按钮索引: index= ", index); } } Hierarchy UIGroup RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior m...
来源: Laya3.0_api 发布时间: 20231115
...ge.addChild(tab);//将 tab 添到显示列表。 } private onSelect(index: number): void { console.log("当前选择的表情页索引: index= ", index); } } Hierarchy UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThroug...
来源: Laya3.0_api 发布时间: 20231115