Holoville.HOTween  1.2.010
PlugSetFloat Class Reference

Plugin for the tweening of the float of your choice. Used for changing material floats. Target for this tween must be of type Material. More...

Inheritance diagram for PlugSetFloat:
ABSTweenPlugin

List of all members.

Public Member Functions

 PlugSetFloat (float p_endVal)
 Creates a new instance of this plugin using the main ease type.
 PlugSetFloat (float p_endVal, EaseType p_easeType)
 Creates a new instance of this plugin.
 PlugSetFloat (float p_endVal, bool p_isRelative)
 Creates a new instance of this plugin using the main ease type.
 PlugSetFloat (float p_endVal, EaseType p_easeType, bool p_isRelative)
 Creates a new instance of this plugin.
 PlugSetFloat (float p_endVal, AnimationCurve p_easeAnimCurve, bool p_isRelative)
 Creates a new instance of this plugin.
PlugSetFloat Property (string p_propertyName)
 Selects the color property to change.

Detailed Description

Plugin for the tweening of the float of your choice. Used for changing material floats. Target for this tween must be of type Material.


Constructor & Destructor Documentation

PlugSetFloat ( float  p_endVal)

Creates a new instance of this plugin using the main ease type.

Parameters:
p_endValThe float value to tween to.
PlugSetFloat ( float  p_endVal,
EaseType  p_easeType 
)

Creates a new instance of this plugin.

Parameters:
p_endValThe float value to tween to.
p_easeTypeThe EaseType to use.
PlugSetFloat ( float  p_endVal,
bool  p_isRelative 
)

Creates a new instance of this plugin using the main ease type.

Parameters:
p_endValThe float value to tween to.
p_isRelativeIf true, the given end value is considered relative instead than absolute.
PlugSetFloat ( float  p_endVal,
EaseType  p_easeType,
bool  p_isRelative 
)

Creates a new instance of this plugin.

Parameters:
p_endValThe float value to tween to.
p_easeTypeThe EaseType to use.
p_isRelativeIf true, the given end value is considered relative instead than absolute.
PlugSetFloat ( float  p_endVal,
AnimationCurve  p_easeAnimCurve,
bool  p_isRelative 
)

Creates a new instance of this plugin.

Parameters:
p_endValThe float value to tween to.
p_easeAnimCurveThe AnimationCurve to use for easing.
p_isRelativeIf true, the given end value is considered relative instead than absolute.

Member Function Documentation

PlugSetFloat Property ( string  p_propertyName)

Selects the color property to change.

Parameters:
p_propertyNameThe propertyName/floatName to change (see Unity's Material.SetFloat if you don't know how it works).
 All Classes Namespaces Functions Variables Enumerations Properties