Table of Contents

Class PerspectiveTransform3D

Namespace
SharpDX.Direct2D1.Effects
Assembly
SharpDX.Direct2D1.dll

Rotates the image in 3 dimensions as if viewed from a distance.

public class PerspectiveTransform3D : Effect
Inheritance
PerspectiveTransform3D
Inherited Members

Remarks

The PerspectiveTransform3D is more convenient than the Transform3D effect, but only exposes a subset of the functionality. You can compute a full 3D transformation matrix and apply a more arbitrary transform matrix to an image using the Transform3D effect.

Constructors

PerspectiveTransform3D(DeviceContext)

Creates a new instance of the PerspectiveTransform3D class.

public PerspectiveTransform3D(DeviceContext deviceContext)

Parameters

deviceContext DeviceContext

The device context where this effect is attached to.

Properties

BorderMode

The border mode.

public BorderMode BorderMode { get; set; }

Property Value

BorderMode

Depth

The perspective depth.

public float Depth { get; set; }

Property Value

float

GlobalOffset

The transformation global offset.

public RawVector3 GlobalOffset { get; set; }

Property Value

RawVector3

InterpolationMode

Image interpolation mode.

public PerspectiveTransform3DInteroplationMode InterpolationMode { get; set; }

Property Value

PerspectiveTransform3DInteroplationMode

LocalOffset

The transformation local offset.

public RawVector3 LocalOffset { get; set; }

Property Value

RawVector3

PerspectiveOrigin

The perspective origin.

public RawVector2 PerspectiveOrigin { get; set; }

Property Value

RawVector2

Rotation

The transformation rotation.

public RawVector3 Rotation { get; set; }

Property Value

RawVector3

RotationOrigin

The transformation rotation origin.

public RawVector3 RotationOrigin { get; set; }

Property Value

RawVector3