Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Identifiers for the properties of the 3D perspective transform effect.
Syntax
typedef enum D2D1_3DPERSPECTIVETRANSFORM_PROP {
D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE = 0,
D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE = 1,
D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH = 2,
D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN = 3,
D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET = 4,
D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET = 5,
D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN = 6,
D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION = 7,
D2D1_3DPERSPECTIVETRANSFORM_PROP_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODEValue: 0 The interpolation mode the effect uses on the image. There are 5 scale modes that range in quality and speed. Type is D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE. Default value is D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODEValue: 1 The mode used to calculate the border of the image, soft or hard. See Border modes for more info. Type is D2D1_BORDER_MODE. Default value is D2D1_BORDER_MODE_SOFT. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTHValue: 2 The distance from the PerspectiveOrigin to the projection plane. The value specified in DIPs and must be greater than 0. Type is FLOAT. Default value is 1000.0f. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGINValue: 3 The X and Y location of the viewer in the 3D scene. This property is a D2D1_VECTOR_2F defined as: (point X, point Y). The units are in DIPs. You set the Z value with the Depth property. Type is D2D1_VECTOR_2F. Default value is {0.0f, 0.0f}. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSETValue: 4 A translation the effect performs before it rotates the projection plane. This property is a D2D1_VECTOR_3F defined as: (X, Y, Z). The units are in DIPs. Type is D2D1_VECTOR_3F. Default value is {0.0f, 0.0f, 0.0f}. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSETValue: 5 A translation the effect performs after it rotates the projection plane. This property is a D2D1_VECTOR_3F defined as: (X, Y, Z). The units are in DIPs. Type is D2D1_VECTOR_3F. Default value is {0.0f, 0.0f, 0.0f}. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGINValue: 6 The center point of the rotation the effect performs. This property is a D2D1_VECTOR_3F defined as: (X, Y, Z). The units are in DIPs. Type is D2D1_VECTOR_3F. Default value is {0.0f, 0.0f, 0.0f}. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATIONValue: 7 The angles of rotation for each axis. This property is a D2D1_VECTOR_3F defined as: (X, Y, Z). The units are in degrees. Type is D2D1_VECTOR_3F. Default value is {0.0f, 0.0f, 0.0f}. |
D2D1_3DPERSPECTIVETRANSFORM_PROP_FORCE_DWORDValue: 0xffffffff |
Requirements
| Requirement | Value |
|---|---|
| Header | d2d1effects.h |