Class StackPanel3D
Hierarchy
-
Container3D
- StackPanel3D
Implements
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 UpObservable - parent
- pointer
Down Animation - pointer
Enter Animation - pointer
Out Animation - pointer
UpAnimation - FACEFORWARDREVERSED_
ORIENTATION - FACEFORWARD_
ORIENTATION - FACEORIGINREVERSED_
ORIENTATION - FACEORIGIN_
ORIENTATION - UNSET_
ORIENTATION
Accessors
Methods
Constructors
constructor
-
Creates new StackPanel
Parameters
-
Optional isVertical: boolean
Returns StackPanel3D
-
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 move over the control
on Pointer Out ObservableSearch playground for onPointerOutObservable
An event triggered when the pointer move out of the control
on Pointer UpObservableSearch 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
Callback used to start pointer down animation
Type declaration
-
-
Returns void
-
pointer Enter AnimationSearch playground for pointerEnterAnimation
Callback used to start pointer enter animation
Type declaration
-
-
Returns void
-
pointer Out AnimationSearch playground for pointerOutAnimation
Callback used to start pointer out animation
Type declaration
-
-
Returns void
-
pointer UpAnimationSearch playground for pointerUpAnimation
Callback used to start pointer up animation
Type declaration
-
-
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 any
-
children
-
Gets the list of child controls
Returns Array<Control3D>
is Vertical
-
Gets or sets a boolean indicating if the stack panel is vertical or horizontal (horizontal by default)
Returns boolean
-
Gets or sets a boolean indicating if the stack panel is vertical or horizontal (horizontal by default)
Parameters
-
value: boolean
Returns any
-
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 any
-
mesh
-
Gets the mesh used to render this control
Returns Nullable<AbstractMesh>
node
-
Gets the transform node used by this control
Returns Nullable<TransformNode>
position
scaling
type Name
-
Gets a string representing the class name
Returns string
Methods
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 ByNameSearch playground for getBehaviorByName
get Class NameSearch playground for getClassName
-
Get the current class name of the control.
Returns string
current class name
link ToTransform 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
Class used to create a stack panel in 3D on XY plane