Click or drag to resize

StateModel Class

The State class defines the condition of an Element in the simulation.
Inheritance Hierarchy

Namespace:  Livit.Learn.Model
Assembly:  Livit.Learn.Model (in Livit.Learn.Model.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class StateModel : ViewableModel

The StateModel type exposes the following members.

Constructors
  NameDescription
Public methodStateModel
Initializes a new instance of the StateModel class
Top
Properties
  NameDescription
Public propertyAnimationEndPoint
Defines the point where the animation ends.
Public propertyAnimationId
Defines the animation to be played.
Public propertyAnimationSpeed
Defines the speed at which the animation is played.
Public propertyAnimatorParameterName
Defines the Animator Parameter to be used for this State.
Public propertyAnimatorParameterSpeed
Defines the speed of linear interpolation for the current AnimatorParameterName from the current State to the target State.
Public propertyAnimatorParameterValue
Defines the value of the AnimatorParameterName for this State.
Public propertyAnimatorState
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyDescription
Displays a description of the object to the user.
(Inherited from TriggableModel.)
Public propertyElements
Public propertyEmphasisDuration
Duration of an element's emphasizing in the scene.
(Inherited from ViewableModel.)
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyFields (Inherited from ScopeableModel.)
Public propertyFieldsSerialized (Inherited from ScopeableModel.)
Public propertyCode exampleFrameBinding
Binds the animation to a property value.
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIsDefault
Defines the default State of the Element.
Public propertyIsElementActivated
Activates the parent Element when the State is activated.
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsReverse
Plays the animation backwards.
Public propertyIsScope (Inherited from ScopeableModel.)
Public propertyIsVisible (Inherited from ViewableModel.)
Public propertyMaterialId
Defines the material of the parent Element.
Public propertyMessageHandlers (Inherited from ScopeableModel.)
Public propertyMessageHandlersSerialized (Inherited from ScopeableModel.)
Public propertySoundEffect
Plays a sound effect during the animation.
Public propertyTags (Inherited from ViewableModel.)
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTitle
Defines a title for the object.
(Inherited from TriggableModel.)
Public propertyTriggers (Inherited from TriggableModel.)
Public propertyTriggersSerialized
Lists the available Triggers for this object.
(Inherited from TriggableModel.)
Public propertyWasShown
(Internal use only) Returns true if the object has been shown in the simulation.
(Inherited from ViewableModel.)
Public propertyWrapMode
Defines the animation behavior when it reaches its end.
Public propertyXmlComments
(Development) Used as temporary storage for XML comments (like ) to keep them.
(Inherited from BaseModel.)
Top
Methods
  NameDescription
Public methodDeepCopy
Creates an in-memory clone of this object using a BinaryFormatter to ensure all child properties are copied as well.
(Inherited from BaseModel.)
Public methodShallowCopy (Inherited from BaseModel.)
Public methodShouldSerializeTriggers (Inherited from TriggableModel.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseModel.)
Public methodUpdateModels
This method will update this model and all its child models.
(Inherited from BaseModel.)
Top
Fields
  NameDescription
Public fieldStatic memberAnimationResetId
Top
See Also