Partager via


Device.Transform Property (Microsoft.DirectX.Direct3D)

Retrieves a matrix that describes a transformation state.

Definition

Visual Basic Public ReadOnly Property Transform As Transforms
C# public Transforms Transform { get; }
C++ public:
property Transforms^ Transform {
        Transforms^ get();
}
JScript public function get Transform() : Transforms

Property Value

Microsoft.DirectX.Direct3D.Transforms
A Transforms object that describes the returned transformation state.

This property is read-only. 

Remarks

This method does not return device state for a device created using CreateFlags.PureDevice. To use this method, create a device with any of the other values in CreateFlags.

Exceptions

InvalidCallException

Occurs if the method call is invalid. For example, a parameter might contain an invalid value.