大约有 225 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
...nts Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...
来源: laya_api 发布时间: 20170929
... Events Packagelaya.uiClasspublic class LabelInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties Property...
来源: Laya2.0_api 发布时间: 20190513
...s Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox UIComponent Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...
来源: Laya2.0_api 发布时间: 20190513
...yaScene_AAA`。 ##### 3.3.3 场景导出与预设导出的区别 Scene3D与Sprite3D分别是场景导出的配置项和预设导出的配置项。如下图所示。  ##### 场景 `Scene3D` 采用`Scene3D(场景)`选项导出,会导出整个场景,无论场景中的模型、...
来源: Laya2.0_文档 发布时间: 20210714
...regClass() export class DayNight extends Laya.Script { declare owner: Laya.Sprite; private lightComp: Laya.DirectionLight2D; private dayTime: number = 0; private dayDuration: number = 24; // 一个完整周期的秒数 private displayText: Laya.Text; // 文本显示当前时间 onAwake(): void { thi...
来源: Laya3.0_文档 发布时间: 20251010
...(附demo) 一个简单的场景 如果我旋转图中 方框指示的sprite3d的rotation,会导致子物体TargetGuard的transform.position不正确,好像子节点属于的坐标系变动了? 比如说,绳子不旋转的时候,我在代码中动下面圆盘的transform.positionthis...
来源: Laya_社区 发布时间: 20171228
...新 let sprite:Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); ...
来源: Laya_社区 发布时间: 20180529
...的PureMVC框架 分享:打地鼠 AS、JS、TS版本 Demo! 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 请问2.0的版本开始,我用ts编写的...
来源: Laya_社区 发布时间: 20170810
...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...
来源: Laya2.0_api 发布时间: 20190513
...src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签内嵌的方式】 示例如...
来源: Laya3.0_文档 发布时间: 20230303