Click or drag to resize

PlaceholderModel Class

The Placeholder Element can hold other elements.
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 PlaceholderModel : ElementModel

The PlaceholderModel type exposes the following members.

Constructors
  NameDescription
Public methodPlaceholderModel
Initializes a new instance of the PlaceholderModel class
Top
Properties
  NameDescription
Public propertyCode exampleAcceptCondition
Sets the acceptance condition(s) of this Placeholder
Public propertyCode exampleAcceptsTags
Sets the possible items this Placeholder can accept.
Public propertyAccessibilityAnimationCategory (Inherited from ElementModel.)
Public propertyAccessibilityTooltip
Sets the Accessibility tooltip displayed and narrated when in Accessibility Mode.
(Inherited from ElementModel.)
Public propertyAllowHandRotation
Daydream specific parameter. Determines whether to allow hand rotation based on controller rotation or not. Defaults to true.
(Inherited from ElementModel.)
Public propertyAllowPositionMarker (Inherited from FocusableModel.)
Public propertyAllowTrashing
Allows the element to be trashed.
(Inherited from ElementModel.)
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyCode exampleBasedOn
References another element from which the current element's parameters will be based.
(Inherited from ElementModel.)
Public propertyClickCount
Counts the number of times an element has been clicked on.
(Inherited from ElementModel.)
Public propertyComments
(Development) Includes comments in the XML code.
(Inherited from BaseModel.)
Public propertyCurrentElement
Sets the object inside the placeholder.
Public propertyCurrentElementsSerialized
Public propertyCurrentElementWasFirstCreated
Property is used to mark Placeholder after CurrentElement was created the first time. This needed to avoid situation in runtime when Placeholder is emptied (the object is moved to another Placeholder), simulation is loaded from autosave and new current element should not be created.
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 propertyCode exampleDecals
Applies a decal on the parent element.
(Inherited from ElementModel.)
Public propertyDecalsSerialized (Inherited from ElementModel.)
Public propertyDefaultExtendedTooltip
Sets the extended tooltip displayed when the element is hovered over.
(Inherited from ElementModel.)
Public propertyDefaultTooltip
Sets the tooltip displayed when the element is hovered over. If an image URL is added the image will be displayed in the tooltip.
(Inherited from ElementModel.)
Public propertyDescription
Displays a description of the object to the user.
(Inherited from TriggableModel.)
Public propertyDragLineColor (Inherited from DraggableModel.)
Public propertyDragLineColorSerialized
Defines the color of the drag line Default value : White
(Inherited from DraggableModel.)
Public propertyDragLineOn
To show drag line. If TRUE, drag line is displayed
(Inherited from DraggableModel.)
Public propertyDragLineThickness
The thickness of the drag line
(Inherited from DraggableModel.)
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
(Inherited from DraggableModel.)
Public propertyDragSpeed (Inherited from DraggableModel.)
Public propertyDragSpeedSerialized (Inherited from DraggableModel.)
Public propertyCode exampleElements
Establishes a collection of child elements.
(Inherited from ElementModel.)
Public propertyElementsSerialized (Inherited from ElementModel.)
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 propertyGUITooltipId
Specifies the GUI tooltip template used for this element.
(Inherited from ElementModel.)
Public propertyHasOwnChanges
Flag which indicate if Item based CurrentElement has own changes. Only for internal usage.
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyInheritTemperature
Inherits the parent's Temperature.
(Inherited from ElementModel.)
Public propertyIsAlwaysNavigable
Ensures that Element auto-discovered for accessibility navigation and circumvent non-critical checks blocking it from being navigable otherwise.
(Inherited from ElementModel.)
Public propertyIsClickable
Allows the object to be clicked if the parent element is focused.
(Inherited from ElementModel.)
Public propertyIsDraggable
Set on the object that enables/disables if the object can be dragged or not
(Inherited from DraggableModel.)
Public propertyIsDropAllowed
Allows the element to be dropped by the user.
(Inherited from ElementModel.)
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 propertyIsHighlightable
Highlights the object when the mouse hovers over it.
(Inherited from ElementModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsPickUpAllowed
Allows the element to be picked up by the user.
(Inherited from ElementModel.)
Public propertyIsScope (Inherited from ScopeableModel.)
Public propertyIsUsingHologram
Displays the Placeholder's hologram shape when the user is holding an acceptable item.
Public propertyIsVisible (Inherited from ViewableModel.)
Public propertyCode exampleItemId
References the ID of a declared item.
Public propertyKeepExamineOnInteraction
Allows an element to stay focused even after an interaction.
(Inherited from FocusableModel.)
Public propertyLocation
Provides information regarding where the placeholder is located. Used in accessibility.
Public propertyMass
(In development) Sets the element's mass.
(Inherited from ElementModel.)
Public propertyMessageHandlers (Inherited from ScopeableModel.)
Public propertyMessageHandlersSerialized (Inherited from ScopeableModel.)
Public propertyMessageToShow
Displays a message when this Placeholder is clicked.
Public propertyNewId
Sets the Id of a newly created element.
Public propertyCode exampleParameters
Defines a collection of parameters for the element.
(Inherited from ElementModel.)
Public propertyParametersSerialized (Inherited from ElementModel.)
Public propertyPlaceholderActivationCompleted
Public propertyPlaceholderBehaviour
Sets the behavior of the Placeholder object.
Public propertyPosition
Positions the element on its parent element's surface.
(Inherited from ElementModel.)
Public propertyPositionSerialized (Inherited from ElementModel.)
Public propertyReplacementItemId
Sets the ItemId of an item that will automatically replace any item dropped in this Placeholder.
Public propertyRotation
Sets the rotation of the element on the parent surface.
(Inherited from ElementModel.)
Public propertyRotationSerialized (Inherited from ElementModel.)
Public propertyCode exampleScreens
Specifies the GUI used to interact with this element.
(Inherited from ElementModel.)
Public propertyScreensSerialized (Inherited from ElementModel.)
Public propertySourceId
Specifies the ID of the GameObject asset to be loaded.
(Inherited from ElementModel.)
Public propertyCode exampleStateGroups
Defines the possible StateGroup for this element.
(Inherited from StateableModel.)
Public propertyStateGroupsSerialized (Inherited from StateableModel.)
Public propertySurfaceOffset
The element's distance from the surface.
(Inherited from ElementModel.)
Public propertyTags (Inherited from ViewableModel.)
Public propertyTargetHighlight
Highlights all placeholders that accept dragged object
(Inherited from DraggableModel.)
Public propertyTemperature
(In development) The element's temperature.
(Inherited from ElementModel.)
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyCode exampleTintColor
Sets the tint of the element.
(Inherited from ElementModel.)
Public propertyTintColorSerialized (Inherited from ElementModel.)
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