Space Engineers
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
VRageRender.Animations.MyAnimatedProperty2D< T, V, W > Class Template Reference
Inheritance diagram for VRageRender.Animations.MyAnimatedProperty2D< T, V, W >:
VRageRender.Animations.MyAnimatedProperty< T > VRageRender.Animations.IMyAnimatedProperty2D< T, V, W > VRageRender.Animations.IMyAnimatedProperty< T >

Public Member Functions

 MyAnimatedProperty2D ()
 
 MyAnimatedProperty2D (string name, MyAnimatedProperty< V >.InterpolatorDelegate interpolator)
 
GetInterpolatedValue< X > (float overallTime, float time)
 
void GetInterpolatedKeys (float overallTime, float multiplier, IMyAnimatedProperty interpolatedKeys)
 
void GetInterpolatedKeys (float overallTime, W variance, float multiplier, IMyAnimatedProperty interpolatedKeysOb)
 
virtual void ApplyVariance (ref V interpolatedValue, ref W variance, float multiplier, out V value)
 
IMyAnimatedProperty CreateEmptyKeys ()
 
override void SerializeValue (XmlWriter writer, object value)
 
override IMyConstProperty Duplicate ()
 
override void DeserializeFromObjectBuilder (GenerationProperty property)
 
- Public Member Functions inherited from VRageRender.Animations.MyAnimatedProperty< T >
delegate void InterpolatorDelegate (ref T previousValue, ref T nextValue, float time, out T value)
 
 MyAnimatedProperty ()
 
 MyAnimatedProperty (string name, bool interpolateAfterEnd, InterpolatorDelegate interpolator)
 
void SetValue (object val)
 
void SetValue (T val)
 
GetValue< U > ()
 
void GetInterpolatedValue< U > (float time, out U value)
 
void GetPreviousValue (float time, out T previousValue, out float previousTime)
 
void GetNextValue (float time, out T nextValue, out float nextTime, out float difference)
 
void AddKey (ValueHolder val)
 
int AddKey< U > (float time, U val)
 
void RemoveKey (float time)
 
void ClearKeys ()
 
void GetKey (int index, out float time, out T value)
 
void GetKey (int index, out int id, out float time, out T value)
 
void GetKeyByID (int id, out float time, out T value)
 
int GetKeysCount ()
 
virtual void Serialize (XmlWriter writer)
 
virtual void Deserialize (XmlReader reader)
 
void DeserializeFromObjectBuilder_Animation (Generation2DProperty property, string type)
 
void DeserializeKeys (List< AnimationKey > keys, string type)
 
virtual void DeserializeValue (XmlReader reader, out object value)
 

Protected Member Functions

override void Duplicate (IMyConstProperty targetProp)
 
- Protected Member Functions inherited from VRageRender.Animations.MyAnimatedProperty< T >
virtual void Init ()
 
virtual bool EqualsValues (object value1, object value2)
 

Protected Attributes

MyAnimatedProperty< V >.InterpolatorDelegate m_interpolator2
 
- Protected Attributes inherited from VRageRender.Animations.MyAnimatedProperty< T >
List< ValueHolderm_keys = new List<ValueHolder>()
 
string m_name
 

Properties

override bool Is2D [get]
 
- Properties inherited from VRageRender.Animations.MyAnimatedProperty< T >
string Name [get, set]
 
virtual string ValueType [get]
 
virtual string BaseValueType [get]
 
virtual bool Animated [get]
 
virtual bool Is2D [get]
 

Additional Inherited Members

- Public Attributes inherited from VRageRender.Animations.MyAnimatedProperty< T >
InterpolatorDelegate Interpolator
 

Detailed Description

Type Constraints
T :MyAnimatedProperty<V> 
T :new() 

Definition at line 33 of file MyAnimatedProperty2D.cs.

Constructor & Destructor Documentation

Definition at line 38 of file MyAnimatedProperty2D.cs.

Definition at line 41 of file MyAnimatedProperty2D.cs.

Member Function Documentation

virtual void VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.ApplyVariance ( ref V  interpolatedValue,
ref W  variance,
float  multiplier,
out V  value 
)
inlinevirtual

Definition at line 110 of file MyAnimatedProperty2D.cs.

Definition at line 116 of file MyAnimatedProperty2D.cs.

override void VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.DeserializeFromObjectBuilder ( GenerationProperty  property)
inlinevirtual

Reimplemented from VRageRender.Animations.MyAnimatedProperty< T >.

Definition at line 149 of file MyAnimatedProperty2D.cs.

override IMyConstProperty VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.Duplicate ( )
inlinevirtual

Reimplemented from VRageRender.Animations.MyAnimatedProperty< T >.

Definition at line 127 of file MyAnimatedProperty2D.cs.

override void VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.Duplicate ( IMyConstProperty  targetProp)
inlineprotectedvirtual

Reimplemented from VRageRender.Animations.MyAnimatedProperty< T >.

Definition at line 133 of file MyAnimatedProperty2D.cs.

void VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.GetInterpolatedKeys ( float  overallTime,
float  multiplier,
IMyAnimatedProperty  interpolatedKeys 
)
inline

Definition at line 64 of file MyAnimatedProperty2D.cs.

void VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.GetInterpolatedKeys ( float  overallTime,
variance,
float  multiplier,
IMyAnimatedProperty  interpolatedKeysOb 
)
inline

Definition at line 74 of file MyAnimatedProperty2D.cs.

X VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.GetInterpolatedValue< X > ( float  overallTime,
float  time 
)
inline
Type Constraints
X :V 

Definition at line 47 of file MyAnimatedProperty2D.cs.

override void VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.SerializeValue ( XmlWriter  writer,
object  value 
)
inlinevirtual

Reimplemented from VRageRender.Animations.MyAnimatedProperty< T >.

Definition at line 121 of file MyAnimatedProperty2D.cs.

Member Data Documentation

Definition at line 36 of file MyAnimatedProperty2D.cs.

Property Documentation

override bool VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.Is2D
get

Definition at line 70 of file MyAnimatedProperty2D.cs.


The documentation for this class was generated from the following file: