Click or drag to resize

ContainerModel Class

The Container element is an object which can hold different types of content (liquids, gases, etc.).
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 ContainerModel : ElementModel

The ContainerModel type exposes the following members.

Constructors
  NameDescription
Public methodContainerModel
Initializes a new instance of the ContainerModel class
Top
Properties
  NameDescription
Public propertyAcceptableContents
Defines the content types this container can contain.
Public propertyAccessibilityAnimationCategory (Inherited from ElementModel.)
Public propertyAccessibilityTooltip
Sets the Accessibility tooltip displayed and narrated when in Accessibility Mode.
(Inherited from ElementModel.)
Public propertyAllowContentPickup
Allows the contents of this Container to be picked up.
Public propertyAllowContentTransfer
Allows this Container to receive contents.
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 propertyCanTransferContentTo
Defines the list of containers this Container can transfer its contents to.
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 propertyContents
Public propertyContentsSerialized
Public propertyContentsTooltip
Defines the tooltip displayed for this contents.
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 propertyDropAmount
Sets the maximum amount that this container can transfer to another container with every click.
Public propertyCode exampleDropoffRate
Sets the rate at which the contents of this Container will be dropped on a FlatContainer.
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 propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyImpacts
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 propertyIsPouringMode
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 propertyMass
(In development) Sets the element's mass.
(Inherited from ElementModel.)
Public propertyMaxAmount
Public propertyMaxAmountSerialized
Public propertyMaxContentType
Sets the maximum number of different content types this container can receive.
Public propertyMessageHandlers (Inherited from ScopeableModel.)
Public propertyMessageHandlersSerialized (Inherited from ScopeableModel.)
Public propertyMinAmount
Sets the minimum amount this container will hold.
Public propertyMinAmountPortion
Defines the minimum amount that a source container will contain during a transfer operation. Actual minimum volume is calculated as portion depending on this property and MaxAmount. If Zero, a source container can be fully clean during a transfer operation. Ignored if MaxAmount is Zero. Supported only in Substances system, ignored for Contents.
Public propertyMixtures
Public propertyMixturesSerialized
Public propertyNarrateInteraction
When true and in Accessibility Mode, The container will be narrated when any substance is picked up or put in.
Public propertyCode exampleOverflowAmount
Amount of contents above the Container's capacity.
Public propertyCode exampleParameters
Defines a collection of parameters for the element.
(Inherited from ElementModel.)
Public propertyParametersSerialized (Inherited from ElementModel.)
Public propertyPickupRate
Sets the rate at which this Container can pick up from another Container.
Public propertyPosition
Positions the element on its parent element's surface.
(Inherited from ElementModel.)
Public propertyPositionSerialized (Inherited from ElementModel.)
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 propertySurfaceAreaMultiplier
(Testing) Specifies the radius of contact from this Container onto a FlatContainer.
Public propertySurfaceOffset
The element's distance from the surface.
(Inherited from ElementModel.)
Public propertySurfaceRadius
Sets the radius of the Container's surface.
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 propertyTooltipFormatter
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
Fields
See Also