Click or drag to resize

MoveToModel Class

The MoveTo action will move the Target to an Element in the scene. By default, the Target is the user camera.
Inheritance Hierarchy

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

The MoveToModel type exposes the following members.

Constructors
  NameDescription
Public methodMoveToModel
Initializes a new instance of the MoveToModel class
Top
Properties
  NameDescription
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyConditions (Inherited from ConditionsDependantModel.)
Public propertyConditionTimeout (Inherited from ConditionsDependantModel.)
Public propertyCode exampleDataContext
Contains a source of all bindings defined for element.
(Inherited from BaseModel.)
Public propertyElement
Selects the element to which the position will be moved.
Public propertyExternalXmlPath (Inherited from BaseModel.)
Public propertyGlobalOrderIndex (Inherited from ActionModel.)
Public propertyHashedPath (Inherited from ActionModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIgnoreInPH (Inherited from ActionModel.)
Public propertyInstantly
Skips the move animation.
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsRunning (Inherited from ActionModel.)
Public propertyIsTransient (Inherited from ActionModel.)
Public propertyIsTransientInstance (Inherited from ActionModel.)
Public propertyParameter
Specifies the expected value for the Notification.
(Inherited from AsyncActionModel.)
Public propertyPosition
Public propertyPositionSerialized
Defines the position to which the element will be moved.
Public propertySpace
Public propertyTargetCharacter
Defines the target Element of the MoveTo action.
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyWait
Waits until the move animation is complete to proceed with the next action.
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 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
Remarks

If no Target is specified, the user's camera will be moved to the position of the specified Element.

If a Target is specified, it will move to the specified Element. Currently, only the Assistant can use the MoveTo action.

Examples
This code will move the user's focus to the table:
XML
<MoveTo Element="Table" />
This code will move the Assistant to a specific position:
XML
<MoveTo Target="Assistant" Position="0.6987204,-0.1743682" />
See Also