Class HolographicSlate
Hierarchy
-
ContentDisplay3D
- HolographicSlate
Implements
Index
Constructors
Properties
- back
Plate Margin - backplate
Dimensions - default
Dimensions - 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 UpObservable - origin
- parent
- pointer
Down Animation - pointer
Enter Animation - pointer
Out Animation - pointer
UpAnimation - 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
back Plate MarginSearch playground for backPlateMargin
Margin between backplate and contentplate
backplate DimensionsSearch playground for backplateDimensions
Dimensions of the backplate
Readonly default DimensionsSearch playground for defaultDimensions
Default dimensions of the slate
dimensionsSearch playground for dimensions
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 UpObservableSearch 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
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 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 any
-
default Behavior
-
Regroups all mesh behaviors for the slate
Returns DefaultBehavior
image Url
-
Gets or sets the image url for the button
Returns string
-
Gets or sets the image url for the button
Parameters
-
value: string
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
rendering Group Id
-
Rendering ground id of all the mesh in the button
Returns number
-
Rendering ground id of all the mesh in the button
Parameters
-
id: number
Returns any
-
scaling
type Name
-
Gets a string representing the class name
Returns string
Methods
add BehaviorSearch playground for addBehavior
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
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.
Returns void
Class used to create a holographic slate
5.0.0