Space Engineers
|
Classes | |
struct | ValueHolder |
Public Member Functions | |
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) |
U | 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 IMyConstProperty | Duplicate () |
virtual void | Serialize (XmlWriter writer) |
virtual void | Deserialize (XmlReader reader) |
void | DeserializeFromObjectBuilder_Animation (Generation2DProperty property, string type) |
virtual void | DeserializeFromObjectBuilder (GenerationProperty property) |
void | DeserializeKeys (List< AnimationKey > keys, string type) |
virtual void | SerializeValue (XmlWriter writer, object value) |
virtual void | DeserializeValue (XmlReader reader, out object value) |
Public Attributes | |
InterpolatorDelegate | Interpolator |
Protected Member Functions | |
virtual void | Init () |
virtual void | Duplicate (IMyConstProperty targetProp) |
virtual bool | EqualsValues (object value1, object value2) |
Protected Attributes | |
List< ValueHolder > | m_keys = new List<ValueHolder>() |
string | m_name |
Properties | |
string | Name [get, set] |
virtual string | ValueType [get] |
virtual string | BaseValueType [get] |
virtual bool | Animated [get] |
virtual bool | Is2D [get] |
Definition at line 99 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 153 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 158 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 432 of file MyAnimatedProperty.cs.
|
inline |
U | : | T |
Definition at line 437 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 509 of file MyAnimatedProperty.cs.
|
inlinevirtual |
Definition at line 588 of file MyAnimatedProperty.cs.
|
inlinevirtual |
Reimplemented in VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.
Definition at line 628 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 623 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 635 of file MyAnimatedProperty.cs.
|
inlinevirtual |
Reimplemented in VRageRender.Animations.MyAnimatedPropertyInt, VRageRender.Animations.MyAnimatedPropertyVector4, VRageRender.Animations.MyAnimatedPropertyVector3, VRageRender.Animations.MyAnimatedPropertyFloat, and VRageRender.Utils.MyAnimatedPropertyTransparentMaterial.
Definition at line 721 of file MyAnimatedProperty.cs.
|
inlinevirtual |
Reimplemented in VRageRender.Animations.MyAnimatedPropertyEnum, VRageRender.Animations.MyAnimatedPropertyInt, VRageRender.Animations.MyAnimatedPropertyVector4, VRageRender.Animations.MyAnimatedPropertyVector3, VRageRender.Animations.MyAnimatedPropertyFloat, VRageRender.Animations.MyAnimatedProperty2D< T, V, W >, and VRageRender.Utils.MyAnimatedPropertyTransparentMaterial.
Definition at line 539 of file MyAnimatedProperty.cs.
|
inlineprotectedvirtual |
Reimplemented in VRageRender.Animations.MyAnimatedProperty2D< T, V, W >.
Definition at line 545 of file MyAnimatedProperty.cs.
|
inlineprotectedvirtual |
Reimplemented in VRageRender.Animations.MyAnimatedPropertyInt, VRageRender.Animations.MyAnimatedPropertyVector4, VRageRender.Animations.MyAnimatedPropertyVector3, VRageRender.Animations.MyAnimatedPropertyFloat, and VRageRender.Utils.MyAnimatedPropertyTransparentMaterial.
Definition at line 727 of file MyAnimatedProperty.cs.
|
inline |
U | : | T |
Definition at line 222 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 514 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 520 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 527 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 534 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 415 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 296 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 210 of file MyAnimatedProperty.cs.
|
inlineprotectedvirtual |
Reimplemented in VRageRender.Animations.MyAnimatedPropertyInt, VRageRender.Animations.MyAnimatedPropertyVector4, VRageRender.Animations.MyAnimatedPropertyVector3, VRageRender.Animations.MyAnimatedPropertyFloat, and VRageRender.Utils.MyAnimatedPropertyTransparentMaterial.
Definition at line 193 of file MyAnimatedProperty.cs.
delegate void VRageRender.Animations.MyAnimatedProperty< T >.InterpolatorDelegate | ( | ref T | previousValue, |
ref T | nextValue, | ||
float | time, | ||
out T | value | ||
) |
|
inline |
Definition at line 479 of file MyAnimatedProperty.cs.
|
inlinevirtual |
Definition at line 566 of file MyAnimatedProperty.cs.
|
inlinevirtual |
Reimplemented in VRageRender.Animations.MyAnimatedPropertyInt, VRageRender.Animations.MyAnimatedPropertyVector4, VRageRender.Animations.MyAnimatedPropertyVector3, VRageRender.Animations.MyAnimatedPropertyFloat, VRageRender.Animations.MyAnimatedProperty2D< T, V, W >, and VRageRender.Utils.MyAnimatedPropertyTransparentMaterial.
Definition at line 717 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 197 of file MyAnimatedProperty.cs.
|
inline |
Definition at line 201 of file MyAnimatedProperty.cs.
InterpolatorDelegate VRageRender.Animations.MyAnimatedProperty< T >.Interpolator |
Definition at line 146 of file MyAnimatedProperty.cs.
|
protected |
Definition at line 144 of file MyAnimatedProperty.cs.
|
protected |
Definition at line 147 of file MyAnimatedProperty.cs.
|
get |
Definition at line 184 of file MyAnimatedProperty.cs.
|
get |
Definition at line 179 of file MyAnimatedProperty.cs.
|
get |
Definition at line 189 of file MyAnimatedProperty.cs.
|
getset |
Definition at line 168 of file MyAnimatedProperty.cs.
|
get |
Definition at line 174 of file MyAnimatedProperty.cs.