大约有 427 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0081 秒)
... in laya/ui/Slider.ts:91 创建一个新的 Slider 类示例。 Parameters Default value skin: string = null 皮肤。 Returns VSlider Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from...
来源: Laya3.0_api 发布时间: 20231115
... in laya/ui/UIGroup.ts:63 创建一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns RadioGroup Properties Optional _extra _extra: INode...
来源: Laya3.0_api 发布时间: 20231115
...,实现子弹飞行逻辑及对象池回收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTriggerEnt...
来源: Laya3.0_文档 发布时间: 20251010
... SubShader = Laya.SubShader; import BaseTexture = Laya.BaseTexture; export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u_NoiseTex"); public readonly Time:num...
来源: Laya_社区 发布时间: 20190923
...aya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns VBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from T...
来源: Laya3.0_api 发布时间: 20231115
... in laya/ui/Slider.ts:91 创建一个新的 Slider 类示例。 Parameters Default value skin: string = null 皮肤。 Returns Slider Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...aya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from T...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115