Class VolumeBasedPanel Abstract
Hierarchy
Index
Constructors
Properties
- margin
- name
- on
Pointer Click Observable - on
Pointer Down Observable - on
Pointer Enter Observable - on
Pointer Move Observable - on
Pointer Out Observable - on
Pointer Up Observable - parent
- pointer
Down Animation - pointer
Enter Animation - pointer
Out Animation - pointer
Up Animation - FACEFORWARDREVERSED_
ORIENTATION - FACEFORWARD_
ORIENTATION - FACEORIGINREVERSED_
ORIENTATION - FACEORIGIN_
ORIENTATION - UNSET_
ORIENTATION
Accessors
Methods
Constructors
constructor
Creates new VolumeBasedPanel
Parameters
Optional name: string
Returns VolumeBasedPanel
Properties
marginSearch playground for margin
Gets or sets the distance between elements
Optional nameSearch playground for name
Defines the control name
on Pointer Click ObservableSearch playground for onPointerClickObservable
An event triggered when a control is clicked on (with a mouse)
on Pointer Down ObservableSearch playground for onPointerDownObservable
An event triggered when the pointer taps the control
on Pointer Enter ObservableSearch playground for onPointerEnterObservable
An event triggered when pointer enters the control
on Pointer Move ObservableSearch playground for onPointerMoveObservable
An event triggered when the pointer moves over the control
on Pointer Out ObservableSearch playground for onPointerOutObservable
An event triggered when the pointer moves out of the control
on Pointer Up ObservableSearch playground for onPointerUpObservable
An event triggered when pointer is up
parentSearch playground for parent
Gets or sets the parent container
pointer Down AnimationSearch playground for pointerDownAnimation
Type declaration
Callback used to start pointer down animation
Returns void
pointer Enter AnimationSearch playground for pointerEnterAnimation
Type declaration
Callback used to start pointer enter animation
Returns void
pointer Out AnimationSearch playground for pointerOutAnimation
Type declaration
Callback used to start pointer out animation
Returns void
pointer Up AnimationSearch playground for pointerUpAnimation
Type declaration
Callback used to start pointer up animation
Returns void
Static Readonly FACEFORWARDREVERSED_ ORIENTATIONSearch playground for FACEFORWARDREVERSED_ORIENTATION
Control will rotate to look at negative z axis (0, 0, -1)
Static Readonly FACEFORWARD_ ORIENTATIONSearch playground for FACEFORWARD_ORIENTATION
Control will rotate to look at z axis (0, 0, 1)
Static Readonly FACEORIGINREVERSED_ ORIENTATIONSearch playground for FACEORIGINREVERSED_ORIENTATION
Control will rotate to make it look back at sphere central axis
Static Readonly FACEORIGIN_ ORIENTATIONSearch playground for FACEORIGIN_ORIENTATION
Control will rotate to make it look at sphere central axis
Static Readonly UNSET_ ORIENTATIONSearch playground for UNSET_ORIENTATION
Control rotation will remain unchanged
Accessors
behaviors
block Layout
Gets or sets a boolean indicating if the layout must be blocked (default is false). This is helpful to optimize layout operation when adding multiple children in a row
Returns boolean
Gets or sets a boolean indicating if the layout must be blocked (default is false). This is helpful to optimize layout operation when adding multiple children in a row
Parameters
value: boolean
Returns void
children
Gets the list of child controls
Returns Control3D[]
columns
Gets or sets the number of columns requested (10 by default). The panel will automatically compute the number of rows based on number of child controls.
Returns number
Gets or sets the number of columns requested (10 by default). The panel will automatically compute the number of rows based on number of child controls.
Parameters
value: number
Returns void
is Visible
Gets or sets a boolean indicating if the control is visible
Returns boolean
Gets or sets a boolean indicating if the control is visible
Parameters
value: boolean
Returns void
mesh
Gets the mesh used to render this control
Returns Nullable<AbstractMesh>
node
Gets the transform node used by this control
Returns Nullable<TransformNode>
orientation
Gets or sets the orientation to apply to all controls (BABYLON.Container3D.FaceOriginReversedOrientation by default)
Value Type Description 0 UNSET_ORIENTATION Control rotation will remain unchanged 1 FACEORIGIN_ORIENTATION Control will rotate to make it look at sphere central axis 2 FACEORIGINREVERSED_ORIENTATION Control will rotate to make it look back at sphere central axis 3 FACEFORWARD_ORIENTATION Control will rotate to look at z axis (0, 0, 1) 4 FACEFORWARDREVERSED_ORIENTATION Control will rotate to look at negative z axis (0, 0, -1) Returns number
Gets or sets the orientation to apply to all controls (BABYLON.Container3D.FaceOriginReversedOrientation by default)
Value Type Description 0 UNSET_ORIENTATION Control rotation will remain unchanged 1 FACEORIGIN_ORIENTATION Control will rotate to make it look at sphere central axis 2 FACEORIGINREVERSED_ORIENTATION Control will rotate to make it look back at sphere central axis 3 FACEFORWARD_ORIENTATION Control will rotate to look at z axis (0, 0, 1) 4 FACEFORWARDREVERSED_ORIENTATION Control will rotate to look at negative z axis (0, 0, -1) Parameters
value: number
Returns void
position
rows
Gets or sets a the number of rows requested. The panel will automatically compute the number of columns based on number of child controls.
Returns number
Gets or sets a the number of rows requested. The panel will automatically compute the number of columns based on number of child controls.
Parameters
value: number
Returns void
scaling
type Name
Gets a string representing the class name
Returns string
Methods
_prepare NodeSearch playground for _prepareNode
Parameters
scene: Scene
Returns void
add BehaviorSearch playground for addBehavior
add ControlSearch playground for addControl
Adds a control to the children of this control
Parameters
control: Control3D
defines the control to add
Returns Container3D
the current container
contains ControlSearch playground for containsControl
Gets a boolean indicating if the given control is in the children of this control
Parameters
control: Control3D
defines the control to check
Returns boolean
true if the control is in the child list
disposeSearch playground for dispose
Releases all associated resources
Returns void
get Behavior By NameSearch playground for getBehaviorByName
get Class NameSearch playground for getClassName
Get the current class name of the control.
Returns string
current class name
link To Transform NodeSearch playground for linkToTransformNode
Link the control as child of the given node
Parameters
node: Nullable<TransformNode>
defines the node to link to. Use null to unlink the control
Returns Control3D
the current control
remove BehaviorSearch playground for removeBehavior
remove ControlSearch playground for removeControl
Removes a control from the children of this control
Parameters
control: Control3D
defines the control to remove
Returns Container3D
the current container
update LayoutSearch playground for updateLayout
Force the container to update the layout. Please note that it will not take blockLayout property in account
Returns Container3D
the current container
Abstract class used to create a container panel deployed on the surface of a volume