Click or drag to resize

GUIImageModel Class

The GUIImage class defines an image displayed in the GUI.
Inheritance Hierarchy
SystemObject
  Livit.Learn.ModelBaseModel
    Livit.Learn.ModelTriggableModel
      Livit.Learn.ModelScopeableModel
        Livit.Learn.ModelViewableModel
          Livit.Learn.ModelStateableModel
            Livit.Learn.Model.GUIGUIBaseModel
              Livit.Learn.Model.GUIGUIViewBaseModel
                Livit.Learn.Model.GUIGUIWidgetModel
                  Livit.Learn.Model.GUIGUIImageModel
                    Livit.Learn.Model.GUIGUIChartModel
                    Livit.Learn.Model.GUIGUILabelModel
                    Livit.Learn.Model.GUIGUIPanelModel
                    Livit.Learn.Model.GUIGUIRelativeImageModel
                    Livit.Learn.Model.GUIGUISeriesModel

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

The GUIImageModel type exposes the following members.

Constructors
  NameDescription
Public methodGUIImageModel
Initializes a new instance of the GUIImageModel class
Top
Properties
  NameDescription
Public propertyAlign
Aligns the Widget in the parent GUI.
(Inherited from GUIWidgetModel.)
Public propertyAtlasPath
Defines the texture atlas to be applied to the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyAttached
Defines an attached property.
(Inherited from BaseModel.)
Public propertyBackgroundImageSource
Defines the background image of the Image.
Public propertyColor (Inherited from GUIWidgetModel.)
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 propertyDepth
Defines the depth of the Widget.
(Inherited from GUIWidgetModel.)
Public propertyDescription
Displays a description of the object to the user.
(Inherited from TriggableModel.)
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 propertyFontPath
Defines the font to be used on the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyGUITooltipId
Specifies the GUI tooltip template used for this element.
Public propertyGUIViewport
Applies a Viewport to magnify the Image.
Public propertyId
Defines a unique identifier for an element in the simulation.
(Inherited from BaseModel.)
Public propertyImageOffset
Public propertyImageOffsetSerialized
Offsets the image's position from its parent element.
Public propertyImageSource
Defines the Image used by the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyInitialSize
Defines the size in pixels of the Widget.
(Inherited from GUIWidgetModel.)
Public propertyIsIdAutogenerated (Inherited from BaseModel.)
Public propertyIsScope (Inherited from ScopeableModel.)
Public propertyIsVisible (Inherited from ViewableModel.)
Public propertyMessageHandlers (Inherited from ScopeableModel.)
Public propertyMessageHandlersSerialized (Inherited from ScopeableModel.)
Public propertyName
(Obsolete) Refers to the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyPivot
Aligns the GUI object to its parent.
(Inherited from GUIViewBaseModel.)
Public propertyPosition
Defines the position of the GUI object relative to its parent.
(Inherited from GUIViewBaseModel.)
Public propertyResizeMode
Defines how the Image will be resized.
Public propertyRotation
Defines the Z-rotation of the GUI object relative to its parent (defaults to 0).
(Inherited from GUIViewBaseModel.)
Public propertyShader
Applies a shader effect to the Image.
Public propertySource
Defines the content source of the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyCode exampleStateGroups
Defines the possible StateGroup for this element.
(Inherited from StateableModel.)
Public propertyStateGroupsSerialized (Inherited from StateableModel.)
Public propertyStyleId
Defines the style identifier of the GUI object.
(Inherited from GUIViewBaseModel.)
Public propertyTags (Inherited from ViewableModel.)
Public propertyTemplateVersionId
Contains a id of source template.
(Inherited from BaseModel.)
Public propertyTileMode
Defines how the Image will be loaded in the GUI.
Public propertyTileSize
Public propertyTileSizeSerialized
Defines the size of the tiling used to display this Image.
Public propertyTitle
Defines a title for the object.
(Inherited from TriggableModel.)
Public propertyTooltip
Sets the tooltip displayed when the element is hovered over.
Public propertyTriggers (Inherited from TriggableModel.)
Public propertyTriggersSerialized
Lists the available Triggers for this object.
(Inherited from TriggableModel.)
Public propertyUse2DTooltipObsolete.
Specifies whether usual 3D tooltip should be changed to legacy 2D one.
Public propertyViewportId
Offsets the Image relative to the target Viewport.
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
  NameDescription
Public fieldStatic memberDefaultShader
Top
See Also