Class FadeInOutBehavior
Hierarchy
- FadeInOutBehavior
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Instantiates the FadeInOutBehavior
Returns FadeInOutBehavior
Properties
fade In DelaySearch playground for fadeInDelay
Time in milliseconds to delay before fading in (Default: 0)
fade In TimeSearch playground for fadeInTime
Time in milliseconds for the mesh to fade in (Default: 300)
fade Out DelaySearch playground for fadeOutDelay
Time in milliseconds to delay before fading out (Default: 0)
fade Out TimeSearch playground for fadeOutTime
Time in milliseconds for the mesh to fade out (Default: 300)
Accessors
delay
Time in milliseconds to delay before fading in (Default: 0) Will set both fade in and out delay to the same value
Returns number
Time in milliseconds to delay before fading in (Default: 0) Will set both fade in and out delay to the same value
Parameters
value: number
Returns void
name
The name of the behavior
Returns string
Methods
attachSearch playground for attach
Attaches the fade behavior on the passed in mesh
Parameters
ownerNode: Mesh
The mesh that will be faded in/out once attached
Returns void
detachSearch playground for detach
Detaches the behavior from the mesh
Returns void
fade InSearch playground for fadeIn
Triggers the mesh to begin fading in (or out)
Parameters
Optional fadeIn: boolean
if the object should fade in or out (true to fade in)
Returns void
fade OutSearch playground for fadeOut
Triggers the mesh to begin fading out
Returns void
initSearch playground for init
Initializes the behavior
Returns void
A behavior that when attached to a mesh will allow the mesh to fade in and out