Skip to content

Class: UIImageGroup

A UI component to display a group images/sprites/videos

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

constructor

new UIImageGroup(): UIImageGroup

Returns

UIImageGroup

Overrides

UIRenderAble.constructor

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:16

Properties

object3D

object3D: Object3D = null

owner object3D

Inherited from

UIRenderAble.object3D

Defined in

src/components/ComponentBase.ts:17


isDestroyed

Optional isDestroyed: boolean

Inherited from

UIRenderAble.isDestroyed

Defined in

src/components/ComponentBase.ts:38


isUIShadow

Optional isUIShadow: boolean

Inherited from

UIRenderAble.isUIShadow

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:12


isShadowless

Optional isShadowless: boolean

Inherited from

UIRenderAble.isShadowless

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:13


needUpdateShadow

needUpdateShadow: boolean

Inherited from

UIRenderAble.needUpdateShadow

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:14

Accessors

eventDispatcher

get eventDispatcher(): CEventDispatcher

Returns

CEventDispatcher

Inherited from

UIRenderAble.eventDispatcher

Defined in

src/components/ComponentBase.ts:23

set eventDispatcher(value): void

Parameters

NameType
valueCEventDispatcher

Returns

void

Inherited from

UIRenderAble.eventDispatcher

Defined in

src/components/ComponentBase.ts:28


isStart

get isStart(): boolean

Returns

boolean

Inherited from

UIRenderAble.isStart

Defined in

src/components/ComponentBase.ts:40


transform

get transform(): Transform

Return the Transform component attached to the Object3D.

Returns

Transform

Inherited from

UIRenderAble.transform

Defined in

src/components/ComponentBase.ts:47


enable

get enable(): boolean

Enable/disable components. The enabled components can be updated, while the disabled components cannot be updated.

Returns

boolean

Inherited from

UIRenderAble.enable

Defined in

src/components/ComponentBase.ts:68

set enable(value): void

Enable/disable components. The enabled components can be updated, while the disabled components cannot be updated.

Parameters

NameType
valueboolean

Returns

void

Inherited from

UIRenderAble.enable

Defined in

src/components/ComponentBase.ts:54


uiTransform

get uiTransform(): UITransform

Returns

UITransform

Inherited from

UIRenderAble.uiTransform

Defined in

src/components/gui/uiComponents/UIComponentBase.ts:16


visible

get visible(): boolean

Returns

boolean

Inherited from

UIRenderAble.visible

Defined in

src/components/gui/uiComponents/UIComponentBase.ts:20

set visible(value): void

Parameters

NameType
valueboolean

Returns

void

Inherited from

UIRenderAble.visible

Defined in

src/components/gui/uiComponents/UIComponentBase.ts:24


mainQuads

get mainQuads(): GUIQuad[]

Returns

GUIQuad[]

Inherited from

UIRenderAble.mainQuads

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:44

Methods

stop

stop(): void

Returns

void

Inherited from

UIRenderAble.stop

Defined in

src/components/ComponentBase.ts:114


onEnable

onEnable(view?): any

Parameters

NameType
view?View3D

Returns

any

Inherited from

UIRenderAble.onEnable

Defined in

src/components/ComponentBase.ts:115


onDisable

onDisable(view?): any

Parameters

NameType
view?View3D

Returns

any

Inherited from

UIRenderAble.onDisable

Defined in

src/components/ComponentBase.ts:116


onUpdate

onUpdate(view?): any

Parameters

NameType
view?View3D

Returns

any

Inherited from

UIRenderAble.onUpdate

Defined in

src/components/ComponentBase.ts:117


onLateUpdate

onLateUpdate(view?): any

Parameters

NameType
view?View3D

Returns

any

Inherited from

UIRenderAble.onLateUpdate

Defined in

src/components/ComponentBase.ts:118


onBeforeUpdate

onBeforeUpdate(view?): any

Parameters

NameType
view?View3D

Returns

any

Inherited from

UIRenderAble.onBeforeUpdate

Defined in

src/components/ComponentBase.ts:119


onCompute

onCompute(view?, command?): any

Parameters

NameType
view?View3D
command?GPUCommandEncoder

Returns

any

Inherited from

UIRenderAble.onCompute

Defined in

src/components/ComponentBase.ts:120


onGraphic

onGraphic(view?): any

Parameters

NameType
view?View3D

Returns

any

Inherited from

UIRenderAble.onGraphic

Defined in

src/components/ComponentBase.ts:121


onParentChange

onParentChange(lastParent?, currentParent?): any

Parameters

NameType
lastParent?Object3D
currentParent?Object3D

Returns

any

Inherited from

UIRenderAble.onParentChange

Defined in

src/components/ComponentBase.ts:122


onAddChild

onAddChild(child): any

Parameters

NameType
childObject3D

Returns

any

Inherited from

UIRenderAble.onAddChild

Defined in

src/components/ComponentBase.ts:123


onRemoveChild

onRemoveChild(child): any

Parameters

NameType
childObject3D

Returns

any

Inherited from

UIRenderAble.onRemoveChild

Defined in

src/components/ComponentBase.ts:124


beforeDestroy

beforeDestroy(force?): void

before release this component, object refrences are not be set null now.

Parameters

NameType
force?boolean

Returns

void

Inherited from

UIRenderAble.beforeDestroy

Defined in

src/components/ComponentBase.ts:200


init

init(param?): void

Parameters

NameType
param?any

Returns

void

Overrides

UIRenderAble.init

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:20


getQuad

getQuad(index): GUIQuad

Parameters

NameType
indexnumber

Returns

GUIQuad

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:29


cloneTo

cloneTo(obj): void

clone component data to target object3D

Parameters

NameTypeDescription
objObject3Dtarget object3D

Returns

void

Overrides

UIRenderAble.cloneTo

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:33


copyComponent

copyComponent(from): this

Parameters

NameType
fromthis

Returns

this

Overrides

UIRenderAble.copyComponent

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:38


setSprite

setSprite(index, value): void

Parameters

NameType
indexnumber
valueGUISprite

Returns

void

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:48


getSprite

getSprite(index): GUISprite

Parameters

NameType
indexnumber

Returns

GUISprite

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:53


getColor

getColor(index): Color

Parameters

NameType
indexnumber

Returns

Color

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:73


setColor

setColor(index, value): void

Parameters

NameType
indexnumber
valueColor

Returns

void

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:77


getImageType

getImageType(index): ImageType

Parameters

NameType
indexnumber

Returns

ImageType

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:82


setImageType

setImageType(index, value): void

Parameters

NameType
indexnumber
valueImageType

Returns

void

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:86


setSize

setSize(index, width, height): void

Parameters

NameType
indexnumber
widthnumber
heightnumber

Returns

void

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:91


setXY

setXY(index, x, y): void

Parameters

NameType
indexnumber
xnumber
ynumber

Returns

void

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:96


getXY

getXY(index, ret?): Vector2

Parameters

NameType
indexnumber
ret?Vector2

Returns

Vector2

Defined in

src/components/gui/uiComponents/UIImageGroup.ts:101


destroy

destroy(): void

release this component

Returns

void

Inherited from

UIRenderAble.destroy

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:21


start

start(): void

Returns

void

Inherited from

UIRenderAble.start

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:30


setShadowRenderer

setShadowRenderer(value): void

Parameters

NameType
valueUIRenderAble

Returns

void

Inherited from

UIRenderAble.setShadowRenderer

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:48


setShadowSource

setShadowSource(value): void

Parameters

NameType
valueUIRenderAble

Returns

void

Inherited from

UIRenderAble.setShadowSource

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:52


getShadowRender

getShadowRender(): UIRenderAble

Returns

UIRenderAble

Inherited from

UIRenderAble.getShadowRender

Defined in

src/components/gui/uiComponents/UIRenderAble.ts:56