Click or drag to resize

DraggableModel Class

The Draggable class defines attributes of objects that can be draggable in the simulation. Available since version 5.2.4.
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 DraggableModel : FocusableModel

The DraggableModel type exposes the following members.

Constructors
  NameDescription
Public methodDraggableModel
Initializes a new instance of the DraggableModel class
Top
Properties
  NameDescription
Public propertyAllowPositionMarker (Inherited from FocusableModel.)
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCode exampleCustomCameras
CustomCameras for this Foucsable
(Inherited from FocusableModel.)
Public propertyCustomCamerasSerialized (Inherited from FocusableModel.)
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 propertyDragLineColor
Public propertyDragLineColorSerialized
Defines the color of the drag line Default value : White
Public propertyDragLineOn
To show drag line. If TRUE, drag line is displayed
Public propertyDragLineThickness
The thickness of the drag line
Public propertyDragModeThreshold
Minimal distance the User has to move the mouse to any direction while holding the mouse button in order to activate Dragging mode
Public propertyDragSpeed
Public propertyDragSpeedSerialized
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 propertyGameObjectId
(Optional) Defines what the GameObject should be named.
(Inherited from FocusableModel.)
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyIsDraggable
Set on the object that enables/disables if the object can be dragged or not
Public propertyIsFocusable
Allows an element to be focused on.
(Inherited from FocusableModel.)
Public propertyIsFreeLook
Allows the object to be viewed by the user from any angle.
(Inherited from FocusableModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsScope (Inherited from ScopeableModel.)
Public propertyIsVisible (Inherited from ViewableModel.)
Public propertyKeepExamineOnInteraction
Allows an element to stay focused even after an interaction.
(Inherited from FocusableModel.)
Public propertyMessageHandlers (Inherited from ScopeableModel.)
Public propertyMessageHandlersSerialized (Inherited from ScopeableModel.)
Public propertyCode exampleStateGroups
Defines the possible StateGroup for this element.
(Inherited from StateableModel.)
Public propertyStateGroupsSerialized (Inherited from StateableModel.)
Public propertyTags (Inherited from ViewableModel.)
Public propertyTargetHighlight
Highlights all placeholders that accept dragged object
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 propertyVisit
Counts the number of visits to the a scene.
(Inherited from FocusableModel.)
Public propertyWasShown
(Internal use only) Returns true if the object has been shown in the simulation.
(Inherited from ViewableModel.)
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 methodShouldSerializeStateGroups (Inherited from StateableModel.)
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
See Also