大约有 313 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0095 秒)
Laya_社区(162) Laya2.0_文档(41) laya_api(40) Laya2.0_api(37) Laya3.0_文档(17) Laya3.0_api(14) Laya2.0_示例(1) Laya_示例(1)
...} } example (function (_super){ function Item(){ Item.__super.call(this);//初始化父类 this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); var label = new laya.ui.Label();//创建一个 Label 类的实例对象 label 。 label.text = "100000";//设置 label 的文本内容。 label.name = "label";...
来源: Laya3.0_api 发布时间: 20231115
...3-2) 以上这只是在编辑器中调整摄像机的位置,可能是初始化场景时摄像机的初始位置。 3.2 跟随移动 在3D游戏中,往往我们需要通过代码来调整摄像机的位置,比如摄像机一直跟随主角的移动和旋转来做调整,如动图3-3所示。...
来源: Laya3.0_文档 发布时间: 20240910
...ned in laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem.ts:105 初始化 buffer Returns void _updateRenderParams _updateRenderParams(stage: RenderContext3D): void Overrides ShurikenParticleSystem._updateRenderParams Defined in laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem....
来源: Laya3.0_api 发布时间: 20231115
...Default value freshSlotIndex: boolean = true 是否将插槽纹理重置到初始化状态 Returns void showSkinByName showSkinByName(name: string, freshSlotIndex?: boolean): void Defined in laya/ani/bone/Skeleton.ts:890 通过名字显示一套皮肤 Parameters name: string 皮肤的名字 Default ...
来源: Laya3.0_api 发布时间: 20231115
...): void Inherited from UIGroup.initItems Defined in laya/ui/UIGroup.ts:168 初始化项对象们。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node: No...
来源: Laya3.0_api 发布时间: 20231115
...): void Inherited from UIGroup.initItems Defined in laya/ui/UIGroup.ts:168 初始化项对象们。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node: No...
来源: Laya3.0_api 发布时间: 20231115
...象内。 initItems initItems(): void Defined in laya/ui/ViewStack.ts:69 初始化视图对象集合。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node...
来源: Laya3.0_api 发布时间: 20231115
...对象内。 initItems initItems(): void Defined in laya/ui/UIGroup.ts:168 初始化项对象们。 Returns void isAncestorOf isAncestorOf(node: Node): boolean Inherited from Node.isAncestorOf Defined in laya/display/Node.ts:446 检查本节点是否是某个节点的上层节点 Parameters node: No...
来源: Laya3.0_api 发布时间: 20231115
...表。 } (function (_super) { function Item() { Item.__super.call(this);//初始化父类。 this.right = 0; this.left = 0; var selectBox = new laya.ui.Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox";//设置 selectBox 的name 为“selectBox”时,将被识别为树结...
来源: Laya3.0_api 发布时间: 20231115
...signHeight: number = 0 Defined in laya/display/Stage.ts:122 设计高度(初始化时设置的高度Laya.init(width,height)) designWidth designWidth: number = 0 Defined in laya/display/Stage.ts:120 设计宽度(初始化时设置的宽度Laya.init(width,height)) focus focus: Node Defined in ...
来源: Laya3.0_api 发布时间: 20231115