Class HolographicSlate
Hierarchy
- ContentDisplay3D
- HolographicSlate
Index
Constructors
Properties
- default
Dimensions - min
Dimensions - 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 - origin
- parent
- pointer
Down Animation - pointer
Enter Animation - pointer
Out Animation - pointer
Up Animation - title
Bar Margin - ASSETS_
BASE_ URL - CLOSE_
ICON_ FILENAME - FOLLOW_
ICON_ FILENAME
Accessors
Methods
Constructors
constructor
Creates a new slate
Parameters
Optional name: string
defines the control name
Returns HolographicSlate
Properties
Readonly default DimensionsSearch playground for defaultDimensions
Default dimensions of the slate
min DimensionsSearch playground for minDimensions
Minimum dimensions of the slate
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
originSearch playground for origin
Origin in local coordinates (top left corner)
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
title Bar MarginSearch playground for titleBarMargin
Margin between title bar and contentplate
Static ASSETS_ BASE_ URLSearch playground for ASSETS_BASE_URL
Base Url for the assets.
Static CLOSE_ ICON_ FILENAMESearch playground for CLOSE_ICON_FILENAME
File name for the close icon.
Static FOLLOW_ ICON_ FILENAMESearch playground for FOLLOW_ICON_FILENAME
File name for the close icon.
Accessors
behaviors
content
content Resolution
Gets or sets the texture resolution used to render content (512 by default)
Returns number
Gets or sets the texture resolution used to render content (512 by default)
Parameters
value: number
Returns void
default Behavior
Regroups all mesh behaviors for the slate
Returns DefaultBehavior
dimensions
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>
position
rendering Group Id
Rendering ground id of all the meshes
Returns number
Rendering ground id of all the meshes
Parameters
id: number
Returns void
scaling
title
The title text displayed at the top of the slate
Returns string
The title text displayed at the top of the slate
Parameters
title: string
Returns void
title Bar Height
Height of the title bar component
Returns number
Height of the title bar component
Parameters
value: number
Returns void
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
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
reset Default Aspect And PoseSearch playground for resetDefaultAspectAndPose
Resets the aspect and pose of the slate so it is right in front of the active camera, facing towards it.
Parameters
Optional resetAspect: boolean
Should the slate's dimensions/aspect ratio be reset as well
Returns void
Class used to create a holographic slate
5.0.0