大约有 631 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0062 秒)
Laya3.0_api(176) Laya_社区(163) Laya2.0_api(99) laya_api(85) Laya2.0_文档(70) Laya3.0_文档(22) Laya2.0_示例(9) Laya_示例(7)
...ty 'toDefault' of undefined报错是什么原因 主要代码如下:Laya.class(MousePickingScene, "MousePickingScene", Laya.Scene); function MousePickingScene() { MousePickingScene.super(this); this.camera = new Laya.Camera(0,0.1,100); this.addChild(this.camera); this.camera.clearFlag = Laya.BaseC...
来源: Laya_社区 发布时间: 20170323
...roup=Text&name=BitmapFont 测试代码: let fontName = "diyFont"; class Text_BitmapFont { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); ...
来源: Laya_社区 发布时间: 20190221
API DocumentationAll Packages | All Classes | Index | Frames No Frames HBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hi...
来源: Laya2.0_api 发布时间: 20190513
...添加如下的示例代码,实现脚本控制RadioGroup: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.RadioGroup }) public radiogroup: Laya.RadioGroup; //组件被激活后执行,此时所有节点和组件均已创建完...
来源: Laya3.0_文档 发布时间: 20241014
API DocumentationAll Packages | All Classes | Index | Frames No Frames UnlitMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class UnlitMaterialInheritanceUnlitMaterial BaseMaterial laya.resource.Resource UnlitMaterial 类用于实现不受光照影响的材...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames AdvImageProperties | Methods | Events Packagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames VSliderProperties | Methods | Events Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames LayoutBoxProperties | Methods | Events Packagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box UIComponent Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public P...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames HSliderProperties | Methods | Events Packagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图...
来源: Laya2.0_api 发布时间: 20190513