Class FadeInOutBehavior
Hierarchy
- FadeInOutBehavior
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Instatiates the FadeInOutBehavior
Returns FadeInOutBehavior
Properties
delaySearch playground for delay
Time in milliseconds to delay before fading in (Default: 0)
fade InTimeSearch playground for fadeInTime
Time in milliseconds for the mesh to fade in (Default: 300)
Accessors
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
-
value: boolean
if the object should fade in or out (true to fade in)
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