- 最后登录
- 2024-6-3
- 注册时间
- 2009-10-16
- 阅读权限
- 100
- 积分
- 18803
- 纳金币
- 17488
- 精华
- 1
|
Glow To (Animation Behavior)
Summary
Animates the emissive power of the Material to a set value over time.
Category
Latest Behaviors
Author
Gavin Kistner
Difficulty
(Reference)
Time to Complete
5 Minutes
Downloads
Click Here
to download the associated files.
(This document covers version 2.1.4 of the 'Glow To' behavior, current as of 2005-Apr-20)
Description
The
Pulse?
option causes the power to immediately animate back to the original value once it has reached the end value.
The
Revert?
option causes the power to animate back to the original value once the ‘opposite’ event occurs. For example, if the
Start Change (Forward)
action is invoked as the result of an ‘onMouseDown’ event on someObject, the
Start Change (Reverse)
action will automatically be set to***n ‘onMouseUp’ for the same object. The following event pairs are recognized:
onMouseOver <-> onMouseOut
onGroupedMouseOver <-> onGroupedMouseOut
onMouseDown <-> onMouseUp
onAttach <-> onDetach
onMiddleMouseDown <-> onMiddleMouseUp
onKeyDown <-> onKeyUp
onMouseClick <-> onMouseClick
onMouseDblClick <-> onMouseDblClick
Events which are their own opposite (e.g. onMouseClick) will reverse the next time the event occurs. Events which have no opposite (e.g. onLoadError) will ignore the
Revert?
option.
If
Pulse?
is checked, the
Revert?
option is ignored.
Basic Properties
Emissive Power
The emissive power value to end at.
Transition Time (sec)
Amount of time in seconds that it will take for the end color to be reached.
Advanced Properties
Change When
When should the parent start glowing?
Trigger Key
If 'Change When' is 'Key Down', the name of the key to watch for.
Revert?
Revert changes when opposite event occurs?
Pulse?
Return to original value when done? (Only if 'Revert?' is off.)
Actions
Start Change (Forward)
Begin/resume changing the emissive power towards the destination.
Start Change (Reverse)
Begin/resume reverting the emissive power back to the original.
Stop Glow Change
Stop (pause) the change.
Toggle Playback
If the animation is***nning, stop it; otherwise, start it (in the direction last headed).
Events
Start
Fires when the 'Start Change (Forward)' action is invoked.
Reverse
Fires when the 'Start Change (Reverse)' action is invoked.
Stop
Fires when the 'Stop Glow Change' action is invoked, or when the change finishes.
Pulse
Fires when the glow reverses 'direction' (if 'Pulse?' is chosen).
Demonstration
View Demonstration Project
Download Project File
|
|