API

Class Control3D

Class used as base class for controls

Hierarchy (View Summary)

Implements

Index
name?: string

Defines the control name

onPointerClickObservable: any = ...

An event triggered when a control is clicked on (with a mouse)

onPointerDownObservable: any = ...

An event triggered when the pointer taps the control

onPointerEnterObservable: any = ...

An event triggered when pointer enters the control

onPointerMoveObservable: any = ...

An event triggered when the pointer moves over the control

onPointerOutObservable: any = ...

An event triggered when the pointer moves out of the control

onPointerUpObservable: any = ...

An event triggered when pointer is up

parent: Nullable<Container3D>

Gets or sets the parent container

pointerDownAnimation: () => void

Callback used to start pointer down animation

pointerEnterAnimation: () => void

Callback used to start pointer enter animation

pointerOutAnimation: () => void

Callback used to start pointer out animation

pointerUpAnimation: () => void

Callback used to start pointer up animation