Class ScrollBar
Hierarchy
- BaseSlider
- ScrollBar
Index
Constructors
Properties
- animations
- fixed
Ratio - hover
Cursor - is
Focus Invisible - is
Hit Test Visible - is
Pointer Blocker - metadata
- name
- on
Accessibility Tag Changed Observable - on
After Draw Observable - on
Before Draw Observable - on
Dirty Observable - on
Dispose Observable - on
Is Visible Changed Observable - on
Pointer Click Observable - on
Pointer Down Observable - on
Pointer Enter Observable - on
Pointer Move Observable - on
Pointer Out Observable - on
Pointer Up Observable - on
Value Changed Observable - on
Wheel Observable - overlap
Delta Multiplier - overlap
Group - parent
- unique
Id - use
Bitmap Cache - Add
Header - Allow
Alpha Inheritance
Accessors
- accessibility
Tag - alpha
- background
- background
Gradient - bar
Offset - bar
Offset In Pixels - border
Color - centerX
- centerY
- clip
Children - clip
Content - color
- descendants
Only Padding - disabled
Color - disabled
Color Item - display
Thumb - font
Family - font
Offset - font
Size - font
Size In Pixels - font
Style - font
Weight - gradient
- height
- height
In Pixels - highlight
Color - highlight
Line Width - horizontal
Alignment - host
- invert
Scroll Direction - is
Dirty - is
Enabled - is
Highlighted - is
Read Only - is
Thumb Clamped - is
Vertical - is
Visible - left
- left
In Pixels - link
OffsetX - link
OffsetXIn Pixels - link
OffsetY - link
OffsetYIn Pixels - linked
Mesh - maximum
- minimum
- not
Renderable - padding
Bottom - padding
Bottom In Pixels - padding
Left - padding
Left In Pixels - padding
Right - padding
Right In Pixels - padding
Top - padding
Top In Pixels - rotation
- scaleX
- scaleY
- shadow
Blur - shadow
Color - shadow
OffsetX - shadow
OffsetY - step
- style
- thumb
Width - thumb
Width In Pixels - top
- top
In Pixels - transform
CenterX - transform
CenterY - transformed
Measure - type
Name - value
- vertical
Alignment - width
- width
In Pixels - z
Index - HORIZONTAL_
ALIGNMENT_ CENTER - HORIZONTAL_
ALIGNMENT_ LEFT - HORIZONTAL_
ALIGNMENT_ RIGHT - VERTICAL_
ALIGNMENT_ BOTTOM - VERTICAL_
ALIGNMENT_ CENTER - VERTICAL_
ALIGNMENT_ TOP
Methods
- _draw
- _on
Canvas Blur - _on
Pointer Down - _on
Pointer Move - _on
Pointer Up - _parse
From Content - clone
- contains
- dispose
- get
Ascendant Of Class - get
Class Name - get
Descendants - get
Descendants To Ref - get
Local Coordinates - get
Local Coordinates To Ref - get
Parent Local Coordinates - is
Ascendant - is
Ready - link
With Mesh - mark
All As Dirty - mark
As Dirty - move
To Vector3 - parse
- serialize
- set
Padding - set
Padding In Pixels - Parse
Constructors
constructor
Creates a new Slider
Parameters
Optional name: string
defines the control name
Returns ScrollBar
Properties
animationsSearch playground for animations
Array of animations
fixed RatioSearch playground for fixedRatio
Gets or sets a fixed ratio for this control. When different from 0, the ratio is used to compute the "second" dimension. The first dimension used in the computation is the last one set (by setting width / widthInPixels or height / heightInPixels), and the second dimension is computed as first dimension * fixedRatio
hover CursorSearch playground for hoverCursor
Gets or sets the cursor to use when the control is hovered
is Focus InvisibleSearch playground for isFocusInvisible
Gets or sets a boolean indicating if the control can be focusable
is Hit Test VisibleSearch playground for isHitTestVisible
Gets or sets a boolean indicating if the control can be hit with pointer events
is Pointer BlockerSearch playground for isPointerBlocker
Gets or sets a boolean indicating if the control can block pointer events. False by default except on the following controls:
- Button controls (Button, RadioButton, ToggleButton)
- Checkbox
- ColorPicker
- InputText
- Slider
metadataSearch playground for metadata
Gets or sets an object used to store user defined information for the node
Optional nameSearch playground for name
defines the name of the control
on Accessibility Tag Changed ObservableSearch playground for onAccessibilityTagChangedObservable
on After Draw ObservableSearch playground for onAfterDrawObservable
An event triggered after the control was drawn
on Before Draw ObservableSearch playground for onBeforeDrawObservable
An event triggered before drawing the control
on Dirty ObservableSearch playground for onDirtyObservable
An event triggered when the control is marked as dirty
on Dispose ObservableSearch playground for onDisposeObservable
An event triggered when the control has been disposed
on Is Visible Changed ObservableSearch playground for onIsVisibleChangedObservable
An event triggered when the control isVisible is changed
on Pointer Click ObservableSearch playground for onPointerClickObservable
An event triggered when a control is clicked on
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 up
on Value Changed ObservableSearch playground for onValueChangedObservable
BABYLON.Observable raised when the slider value changes
on Wheel ObservableSearch playground for onWheelObservable
An event triggered when pointer wheel is scrolled
Optional overlap Delta MultiplierSearch playground for overlapDeltaMultiplier
Gets/sets the deoverlap movement multiplier
Optional overlap GroupSearch playground for overlapGroup
Gets/sets the overlap group of the control. Controls with overlapGroup set to a number can be deoverlapped. Controls with overlapGroup set to undefined are not deoverlapped.
parentSearch playground for parent
Gets or sets the control parent
unique IdSearch playground for uniqueId
Gets or sets the unique id of the node. Please note that this number will be updated when the control is added to a container
use Bitmap CacheSearch playground for useBitmapCache
Gets or sets a boolean indicating that the current control should cache its rendering (useful when the control does not change often)
Static Add HeaderSearch playground for AddHeader
Type declaration
Parameters
control: Control
text: string
size: string | number
options: { controlFirst: boolean; isHorizontal: boolean }
control
First: boolean is
Horizontal: boolean
Returns any
Static Allow Alpha InheritanceSearch playground for AllowAlphaInheritance
Gets or sets a boolean indicating if alpha must be an inherited value (false by default)
Accessors
accessibility Tag
Gets or sets the accessibility tag to describe the control for accessibility purpose. By default, GUI controls already indicate accessibility info, but one can override the info using this tag.
Returns Nullable<IAccessibilityTag>
Gets or sets the accessibility tag to describe the control for accessibility purpose. By default, GUI controls already indicate accessibility info, but one can override the info using this tag.
Parameters
value: Nullable<IAccessibilityTag>
Returns void
alpha
Gets or sets alpha value for the control (1 means opaque and 0 means entirely transparent)
Returns number
Gets or sets alpha value for the control (1 means opaque and 0 means entirely transparent)
Parameters
value: number
Returns void
background
Gets or sets background color
Returns string
Gets or sets background color
Parameters
value: string
Returns void
background Gradient
Gets or sets background gradient. Takes precedence over gradient.
Returns Nullable<BaseGradient>
Gets or sets background gradient. Takes precedence over gradient.
Parameters
value: Nullable<BaseGradient>
Returns void
bar Offset
Gets or sets main bar offset (ie. the margin applied to the value bar)
Returns string | number
Gets or sets main bar offset (ie. the margin applied to the value bar)
Parameters
value: string | number
Returns void
bar Offset In Pixels
Gets main bar offset in pixels
Returns number
border Color
Gets or sets border color
Returns string
Gets or sets border color
Parameters
value: string
Returns void
centerX
Gets the center coordinate on X axis
Returns number
centerY
Gets the center coordinate on Y axis
Returns number
clip Children
Sets/Gets a boolean indicating if the children are clipped to the current control bounds. Please note that not clipping children may generate issues with adt.useInvalidateRectOptimization so it is recommended to turn this optimization off if you want to use unclipped children
Returns boolean
Sets/Gets a boolean indicating if the children are clipped to the current control bounds. Please note that not clipping children may generate issues with adt.useInvalidateRectOptimization so it is recommended to turn this optimization off if you want to use unclipped children
Parameters
value: boolean
Returns void
clip Content
Sets/Gets a boolean indicating that control content must be clipped Please note that not clipping content may generate issues with adt.useInvalidateRectOptimization so it is recommended to turn this optimization off if you want to use unclipped children
Returns boolean
Sets/Gets a boolean indicating that control content must be clipped Please note that not clipping content may generate issues with adt.useInvalidateRectOptimization so it is recommended to turn this optimization off if you want to use unclipped children
Parameters
value: boolean
Returns void
color
Gets or sets foreground color
Returns string
Gets or sets foreground color
Parameters
value: string
Returns void
descendants Only Padding
Gets or sets a value indicating the padding should work like in CSS. Basically, it will add the padding amount on each side of the parent control for its children.
Returns boolean
Gets or sets a value indicating the padding should work like in CSS. Basically, it will add the padding amount on each side of the parent control for its children.
Parameters
value: boolean
Returns void
disabled Color
Gets or sets background color of control if it's disabled. Only applies to Button class.
Returns string
Gets or sets background color of control if it's disabled. Only applies to Button class.
Parameters
value: string
Returns void
disabled Color Item
Gets or sets front color of control if it's disabled. Only applies to Checkbox class.
Returns string
Gets or sets front color of control if it's disabled. Only applies to Checkbox class.
Parameters
value: string
Returns void
display Thumb
Gets or sets a boolean indicating if the thumb must be rendered
Returns boolean
Gets or sets a boolean indicating if the thumb must be rendered
Parameters
value: boolean
Returns void
font Family
Gets or set font family
Returns string
Gets or set font family
Parameters
value: string
Returns void
font Offset
Gets or set information about font offsets (used to render and align text)
Returns { ascent: number; descent: number; height: number }
ascent: number
descent: number
height: number
Gets or set information about font offsets (used to render and align text)
Parameters
offset: { ascent: number; descent: number; height: number }
ascent: number
descent: number
height: number
Returns void
font Size
Gets or sets font size
Returns string | number
Gets or sets font size
Parameters
value: string | number
Returns void
font Size In Pixels
Gets or sets font size in pixels
Returns number
Gets or sets font size in pixels
Parameters
value: number
Returns void
font Style
Gets or sets font style
Returns string
Gets or sets font style
Parameters
value: string
Returns void
font Weight
Gets or sets font weight
Returns string
Gets or sets font weight
Parameters
value: string
Returns void
gradient
Gets or sets gradient. Setting a gradient will override the color
Returns Nullable<BaseGradient>
Gets or sets gradient. Setting a gradient will override the color
Parameters
value: Nullable<BaseGradient>
Returns void
height
Gets or sets control height
Returns string | number
Gets or sets control height
Parameters
value: string | number
Returns void
height In Pixels
Gets or sets control height in pixel
Returns number
Gets or sets control height in pixel
Parameters
value: number
Returns void
highlight Color
Gets or sets a string defining the color to use for highlighting this control
Returns string
Gets or sets a string defining the color to use for highlighting this control
Parameters
value: string
Returns void
highlight Line Width
Gets or sets a number indicating size of stroke we want to highlight the control with (mostly for debugging purpose)
Returns number
Gets or sets a number indicating size of stroke we want to highlight the control with (mostly for debugging purpose)
Parameters
value: number
Returns void
horizontal Alignment
Gets or sets the horizontal alignment
Returns number
Gets or sets the horizontal alignment
Parameters
value: number
Returns void
host
Get the hosting AdvancedDynamicTexture
Returns AdvancedDynamicTexture
invert Scroll Direction
Inverts the scrolling direction (default: false)
Returns boolean
Inverts the scrolling direction (default: false)
Parameters
invert: boolean
Returns void
is Dirty
Gets a boolean indicating that the control needs to update its rendering
Returns boolean
is Enabled
Gets or sets if control is Enabled
Returns boolean
Gets or sets if control is Enabled
Parameters
value: boolean
Returns void
is Highlighted
Gets or sets a boolean indicating that we want to highlight the control (mostly for debugging purpose)
Returns boolean
Gets or sets a boolean indicating that we want to highlight the control (mostly for debugging purpose)
Parameters
value: boolean
Returns void
is Read Only
Gets or sets a boolean indicating if the control is readonly (default: false). A readonly control will still raise pointer events but will not react to them
Returns boolean
Gets or sets a boolean indicating if the control is readonly (default: false). A readonly control will still raise pointer events but will not react to them
Parameters
value: boolean
Returns void
is Thumb Clamped
Gets or sets a value indicating if the thumb can go over main bar extends
Returns boolean
Gets or sets a value indicating if the thumb can go over main bar extends
Parameters
value: boolean
Returns void
is Vertical
Gets or sets a boolean indicating if the slider should be vertical or horizontal
Returns boolean
Gets or sets a boolean indicating if the slider should be vertical or horizontal
Parameters
value: boolean
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
left
Gets or sets a value indicating the left coordinate of the control
Returns string | number
Gets or sets a value indicating the left coordinate of the control
Parameters
value: string | number
Returns void
left In Pixels
Gets or sets a value indicating the left coordinate in pixels of the control
Returns number
Gets or sets a value indicating the left coordinate in pixels of the control
Parameters
value: number
Returns void
link OffsetX
Gets or sets a value indicating the offset on X axis to the linked mesh
Returns string | number
Gets or sets a value indicating the offset on X axis to the linked mesh
Parameters
value: string | number
Returns void
link OffsetXIn Pixels
Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
Returns number
Gets or sets a value indicating the offset in pixels on X axis to the linked mesh
Parameters
value: number
Returns void
link OffsetY
Gets or sets a value indicating the offset on Y axis to the linked mesh
Returns string | number
Gets or sets a value indicating the offset on Y axis to the linked mesh
Parameters
value: string | number
Returns void
link OffsetYIn Pixels
Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
Returns number
Gets or sets a value indicating the offset in pixels on Y axis to the linked mesh
Parameters
value: number
Returns void
linked Mesh
Gets the current linked mesh (or null if none)
Returns Nullable<TransformNode>
maximum
Gets or sets maximum value
Returns number
Gets or sets maximum value
Parameters
value: number
Returns void
minimum
Gets or sets minimum value
Returns number
Gets or sets minimum value
Parameters
value: number
Returns void
not Renderable
Gets or sets a boolean indicating if the control can be rendered
Returns boolean
Gets or sets a boolean indicating if the control can be rendered
Parameters
value: boolean
Returns void
padding Bottom
Gets or sets a value indicating the padding to use on the bottom of the control
Returns string | number
Gets or sets a value indicating the padding to use on the bottom of the control
Parameters
value: string | number
Returns void
padding Bottom In Pixels
Gets or sets a value indicating the padding in pixels to use on the bottom of the control
Returns number
Gets or sets a value indicating the padding in pixels to use on the bottom of the control
Parameters
value: number
Returns void
padding Left
Gets or sets a value indicating the padding to use on the left of the control
Returns string | number
Gets or sets a value indicating the padding to use on the left of the control
Parameters
value: string | number
Returns void
padding Left In Pixels
Gets or sets a value indicating the padding in pixels to use on the left of the control
Returns number
Gets or sets a value indicating the padding in pixels to use on the left of the control
Parameters
value: number
Returns void
padding Right
Gets or sets a value indicating the padding to use on the right of the control
Returns string | number
Gets or sets a value indicating the padding to use on the right of the control
Parameters
value: string | number
Returns void
padding Right In Pixels
Gets or sets a value indicating the padding in pixels to use on the right of the control
Returns number
Gets or sets a value indicating the padding in pixels to use on the right of the control
Parameters
value: number
Returns void
padding Top
Gets or sets a value indicating the padding to use on the top of the control
Returns string | number
Gets or sets a value indicating the padding to use on the top of the control
Parameters
value: string | number
Returns void
padding Top In Pixels
Gets or sets a value indicating the padding in pixels to use on the top of the control
Returns number
Gets or sets a value indicating the padding in pixels to use on the top of the control
Parameters
value: number
Returns void
rotation
Gets or sets the rotation angle (0 by default)
Returns number
Gets or sets the rotation angle (0 by default)
Parameters
value: number
Returns void
scaleX
Gets or sets a value indicating the scale factor on X axis (1 by default)
Returns number
Gets or sets a value indicating the scale factor on X axis (1 by default)
Parameters
value: number
Returns void
scaleY
Gets or sets a value indicating the scale factor on Y axis (1 by default)
Returns number
Gets or sets a value indicating the scale factor on Y axis (1 by default)
Parameters
value: number
Returns void
shadow Blur
Gets or sets a value indicating the amount of blur to use to render the shadow
Returns number
Gets or sets a value indicating the amount of blur to use to render the shadow
Parameters
value: number
Returns void
shadow Color
Gets or sets a value indicating the color of the shadow (black by default ie. "#000")
Returns string
Gets or sets a value indicating the color of the shadow (black by default ie. "#000")
Parameters
value: string
Returns void
shadow OffsetX
Gets or sets a value indicating the offset to apply on X axis to render the shadow
Returns number
Gets or sets a value indicating the offset to apply on X axis to render the shadow
Parameters
value: number
Returns void
shadow OffsetY
Gets or sets a value indicating the offset to apply on Y axis to render the shadow
Returns number
Gets or sets a value indicating the offset to apply on Y axis to render the shadow
Parameters
value: number
Returns void
step
Gets or sets a step to apply to values (0 by default)
Returns number
Gets or sets a step to apply to values (0 by default)
Parameters
value: number
Returns void
style
thumb Width
Gets or sets thumb width
Returns string | number
Gets or sets thumb width
Parameters
value: string | number
Returns void
thumb Width In Pixels
Gets thumb width in pixels
Returns number
top
Gets or sets a value indicating the top coordinate of the control
Returns string | number
Gets or sets a value indicating the top coordinate of the control
Parameters
value: string | number
Returns void
top In Pixels
Gets or sets a value indicating the top coordinate in pixels of the control
Returns number
Gets or sets a value indicating the top coordinate in pixels of the control
Parameters
value: number
Returns void
transform CenterX
Gets or sets the transformation center on X axis (0 by default)
Returns number
Gets or sets the transformation center on X axis (0 by default)
Parameters
value: number
Returns void
transform CenterY
Gets or sets the transformation center on Y axis (0 by default)
Returns number
Gets or sets the transformation center on Y axis (0 by default)
Parameters
value: number
Returns void
transformed Measure
Gets the transformed measure, that is the bounding box of the control after applying all transformations
Returns Measure
type Name
Gets the control type name
Returns string
value
Gets or sets current value
Returns number
Gets or sets current value
Parameters
value: number
Returns void
vertical Alignment
Gets or sets the vertical alignment
Returns number
Gets or sets the vertical alignment
Parameters
value: number
Returns void
width
Gets or sets control width
Returns string | number
Gets or sets control width
Parameters
value: string | number
Returns void
width In Pixels
Gets or sets the control width in pixel
Returns number
Gets or sets the control width in pixel
Parameters
value: number
Returns void
z Index
Gets or sets z index which is used to reorder controls on the z axis
Returns number
Gets or sets z index which is used to reorder controls on the z axis
Parameters
value: number
Returns void
Static HORIZONTAL_ ALIGNMENT_ CENTER
HORIZONTAL_ALIGNMENT_CENTER
Returns number
Static HORIZONTAL_ ALIGNMENT_ LEFT
HORIZONTAL_ALIGNMENT_LEFT
Returns number
Static HORIZONTAL_ ALIGNMENT_ RIGHT
HORIZONTAL_ALIGNMENT_RIGHT
Returns number
Static VERTICAL_ ALIGNMENT_ BOTTOM
VERTICAL_ALIGNMENT_BOTTOM
Returns number
Static VERTICAL_ ALIGNMENT_ CENTER
VERTICAL_ALIGNMENT_CENTER
Returns number
Static VERTICAL_ ALIGNMENT_ TOP
VERTICAL_ALIGNMENT_TOP
Returns number
Methods
_drawSearch playground for _draw
Parameters
context: ICanvasRenderingContext
Returns void
_on Canvas BlurSearch playground for _onCanvasBlur
Returns void
_on Pointer DownSearch playground for _onPointerDown
Parameters
target: Control
coordinates: Vector2
pointerId: number
buttonIndex: number
pi: PointerInfoBase
Returns boolean
_on Pointer MoveSearch playground for _onPointerMove
Parameters
target: Control
coordinates: Vector2
pointerId: number
pi: PointerInfoBase
Returns void
_on Pointer UpSearch playground for _onPointerUp
_parse From ContentSearch playground for _parseFromContent
Parameters
serializationObject: any
host: AdvancedDynamicTexture
Returns void
cloneSearch playground for clone
Clones a control and its descendants
Parameters
Optional host: AdvancedDynamicTexture
the texture where the control will be instantiated. Can be empty, in which case the control will be created on the same texture
Returns Control
the cloned control
containsSearch playground for contains
Tests if a given coordinates belong to the current control
Parameters
x: number
defines x coordinate to test
y: number
defines y coordinate to test
Returns boolean
true if the coordinates are inside the control
disposeSearch playground for dispose
Releases associated resources
Returns void
get Ascendant Of ClassSearch playground for getAscendantOfClass
get Class NameSearch playground for getClassName
Get the current class name of the control.
Returns string
current class name
get DescendantsSearch playground for getDescendants
Will return all controls that have this control as ascendant
Parameters
Optional directDescendantsOnly: boolean
defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
Optional predicate: ((control: Control) => boolean)
defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
Parameters
control: Control
Returns boolean
Returns Control[]
all child controls
get Descendants To RefSearch playground for getDescendantsToRef
Will store all controls that have this control as ascendant in a given array
Parameters
results: Control[]
defines the array where to store the descendants
Optional directDescendantsOnly: boolean
defines if true only direct descendants of 'this' will be considered, if false direct and also indirect (children of children, an so on in a recursive manner) descendants of 'this' will be considered
Optional predicate: ((control: Control) => boolean)
defines an optional predicate that will be called on every evaluated child, the predicate must return true for a given child to be part of the result, otherwise it will be ignored
Parameters
control: Control
Returns boolean
Returns void
get Local CoordinatesSearch playground for getLocalCoordinates
get Local Coordinates To RefSearch playground for getLocalCoordinatesToRef
get Parent Local CoordinatesSearch playground for getParentLocalCoordinates
is AscendantSearch playground for isAscendant
Determines if a container is an ascendant of the current control
Parameters
container: Control
defines the container to look for
Returns boolean
true if the container is one of the ascendant of the control
is ReadySearch playground for isReady
Returns true if the control is ready to be used
Returns boolean
link With MeshSearch playground for linkWithMesh
Link current control with a target mesh
Parameters
mesh: Nullable<TransformNode>
defines the mesh to link with
Returns void
mark All As DirtySearch playground for markAllAsDirty
Mark the element and its children as dirty
Returns void
mark As DirtySearch playground for markAsDirty
Mark control element as dirty
Parameters
Optional force: boolean
force non visible elements to be marked too
Returns void
move To Vector3Search playground for moveToVector3
parseSearch playground for parse
Parses a serialized object into this control
Parameters
serializedObject: any
the object with the serialized properties
Optional host: AdvancedDynamicTexture
the texture where the control will be instantiated. Can be empty, in which case the control will be created on the same texture
Returns Control
this control
serializeSearch playground for serialize
Serializes the current control
Parameters
serializationObject: any
Returns void
set PaddingSearch playground for setPadding
Shorthand function to set the top, right, bottom, and left padding values on the control.
Parameters
paddingTop: string | number
The value of the top padding.
Optional paddingRight: string | number
The value of the right padding. If omitted, top is used.
Optional paddingBottom: string | number
The value of the bottom padding. If omitted, top is used.
Optional paddingLeft: string | number
The value of the left padding. If omitted, right is used.
Returns void
set Padding In PixelsSearch playground for setPaddingInPixels
Shorthand funtion to set the top, right, bottom, and left padding values in pixels on the control.
Parameters
paddingTop: number
The value in pixels of the top padding.
Optional paddingRight: number
The value in pixels of the right padding. If omitted, top is used.
Optional paddingBottom: number
The value in pixels of the bottom padding. If omitted, top is used.
Optional paddingLeft: number
The value in pixels of the left padding. If omitted, right is used.
Returns void
Static ParseSearch playground for Parse
Creates a Control from parsed data
Parameters
serializedObject: any
defines parsed data
host: AdvancedDynamicTexture
defines the hosting AdvancedDynamicTexture
Returns Control
a new Control
Class used to create slider controls