大约有 538 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)
Laya_社区(196) Laya3.0_api(114) Laya2.0_文档(83) Laya2.0_api(60) laya_api(55) Laya3.0_文档(27) Laya2.0_示例(3)
...structor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns UIComponent Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: bool...
来源: Laya3.0_api 发布时间: 20231115
...dManager.playSound或者 SoundManager.playMusic会返回一个SoundChannel实例。你可以声明一个变量来接收它,然后通过SoundChannel来控制播放、停止、暂停。具体代码如下所示: var soundC:SoundChannel = SoundManager.playSound("url"); //播放 soundC.play(); //停...
来源: Laya_社区 发布时间: 20180308
...s Resource.__constructor Defined in laya/components/AnimationClip2D.ts:214 实例化一个2D动画clip类 Returns AnimationClip2D Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Inherited from Resou...
来源: Laya3.0_api 发布时间: 20231115
...先设置火焰生命周期内颜色的过程,创建Color Over Lifetime实例,Type设置为Gradient梯度变化曲线,打开Gradient面板,上面3个箭头向下的指示标表明颜色的透明度从 0%的不透明->80%的不透明->100%的全透明,下面的2个箭头向上的指...
来源: Laya3.0_文档 发布时间: 20251010
...先设置火焰生命周期内颜色的过程,创建Color Over Lifetime实例,Type设置为Gradient梯度变化曲线,打开Gradient面板,上面3个箭头向下的指示标表明颜色的透明度从 0%的不透明->80%的不透明->100%的全透明,下面的2个箭头向上的指...
来源: Laya3.0_文档 发布时间: 20250104
...structor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean...
来源: Laya3.0_api 发布时间: 20231115
...structor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = fa...
来源: Laya3.0_api 发布时间: 20231115
...ent.constructor Defined in laya/ui/Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphi...
来源: Laya3.0_api 发布时间: 20231115
...ntextView Class OpenDataContextView 微信开放数据展示组件,直接实例本组件,即可根据组件宽高,位置,以最优的方式显示开放域数据 Hierarchy UIComponent OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url au...
来源: Laya3.0_api 发布时间: 20231115
...structor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns LayoutBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolea...
来源: Laya3.0_api 发布时间: 20231115