Click or drag to resize

VisualFrame Class

Class that wraps up a visual as a frame, so that it can be used in frame calculations.
Inheritance Hierarchy
System.DynamicDynamicObject
  NotifyPropertyChangedBase
    SimpleCustomTypeDescriptor
      GlobalizedProperties
        Demo3D.CommonBindableBase
          Demo3D.VisualsSerializableObject
            Demo3D.Visuals.FramesFrame
              Demo3D.Visuals.FramesVisualFrame

Namespace:  Demo3D.Visuals.Frames
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public sealed class VisualFrame : Frame

The VisualFrame type exposes the following members.

Constructors
  NameDescription
Public methodVisualFrame
Initializes a new instance of the VisualFrame class. Only for use when deserializing.
Public methodVisualFrame(Visual)
Initializes a new instance of the VisualFrame class with an visual to wrap up as a frame.
Top
Properties
  NameDescription
Public propertyCoordinateSystem
The coordinate system used by this frame. For instances of VisualFrame this is always left-handed Y up.
(Overrides FrameCoordinateSystem.)
Public propertyEulerConvention
The Euler angle convention used by this frame. For instances of VisualFrame this is always fixed ZXY.
(Overrides FrameEulerConvention.)
Public propertyFrameLocation
The location of this frame, relative to its parent, using the frame's coordinate system. For instances of VisualFrame, this is always (0, 0, 0) and cannot be set.
(Overrides FrameFrameLocation.)
Public propertyFrameMatrix
A matrix representing this frame's location and rotation relative to its parent, using this frame's coordinate system. For instances of VisualFrame, this is always the identity matrix, and cannot be set.
(Overrides FrameFrameMatrix.)
Public propertyFrameRotation
The rotation of this frame, in degrees, relative to its parent, using this frame's coordinate system. For instances of VisualFrame, this is always (0, 0, 0) and cannot be set.
(Overrides FrameFrameRotation.)
Public propertyId (Inherited from SerializableObject.)
Public propertyLocation
The location of this frame, relative to its parent, using the Emulate3D coordinate system. For instances of VisualFrame, this is always (0, 0, 0) and cannot be set.
(Overrides FrameLocation.)
Public propertyMatrix
A matrix representing this frame's location and rotation relative to its parent, using the Emulate3D coordinate system. For instances of VisualFrame, this is always the identity matrix, and cannot be set.
(Overrides FrameMatrix.)
Public propertyName
Gets the name of the underlying visual.
(Overrides FrameName.)
Public propertyParent
Gets the parent of this frame, which is always null for a VisualFrame.
(Overrides FrameParent.)
Public propertyRotation
Gets this frame's rotation, in degrees, relative to its parent, using the Emulate3D coordinate system. For instances of VisualFrame, this is always (0, 0, 0) and cannot be set.
(Overrides FrameRotation.)
Public propertyVisual
The visual that this instance of VisualFrame is wrapping up.
Public propertyWorldLocation
The location of this frame relative to the scene, using the Emulate3D coordinate system. For instances of VisualFrame, this is the world location of the underlying visual, and cannot be set.
(Overrides FrameWorldLocation.)
Public propertyWorldMatrix
A matrix representing this frame's location and rotation relative to the world, using the Emulate3D coordinate system. For instances of VisualFrame, this cannot be set.
(Overrides FrameWorldMatrix.)
Public propertyWorldRotation
The rotation of this frame, in degrees, relative to the scene, using the Emulate3D coordinate system. For instances of VisualFrame, this is the world location of the underlying visual, and cannot be set.
(Overrides FrameWorldRotation.)
Top
Methods
  NameDescription
Public methodGetLocationOf
Gets the location of another frame, relative to this frame, using this frame's coordinate system.
(Inherited from Frame.)
Public methodGetLocationRelativeTo
Gets the location of this frame relative to a reference frame, using that frame's coordinate system.
(Inherited from Frame.)
Public methodGetRotationOf
Gets the rotation of another frame, relative to this frame, using this frame's coordinate system.
(Inherited from Frame.)
Public methodGetRotationRelativeTo
Gets the rotation in degrees of this frame relative to a reference frame, using that frame's coordinate system.
(Inherited from Frame.)
Public methodRaisePropertiesChanged
Raise an PropertyChanged event for each value.
(Inherited from BindableBase.)
Public methodRaisePropertyChanged(PropertyChangedEventArgs)
Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase.)
Public methodRaisePropertyChanged(String)
Raise an PropertyChanged event for the specified value.
(Inherited from BindableBase.)
Public methodReparent
Sets the parent frame to a specified frame, whilst maintaining the same world location and rotation. This is analagous to the reparenting behaviour of visuals.
(Inherited from Frame.)
Public methodSerializableDependency(SerializableObject) Obsolete. (Inherited from Frame.)
Public methodSerializableDependency(Visual) Obsolete. (Inherited from Frame.)
Public methodToString
Returns a string representation of this frame, consisting of the visual being wrapped up.
(Overrides FrameToString.)
Top
Events
  NameDescription
Public eventMoved
Occurs when the frame's location or rotation changes, either directly or because a parent frame has moved.
(Inherited from Frame.)
Top
Operators
See Also