CustomVertex.PositionNormal Structure (Microsoft.DirectX.Direct3D)
Describes a custom vertex format structure that contains position and normal data.
Definition
Visual Basic Public Structure PositionNormal C# public struct PositionNormal C++ public value class PositionNormal sealed JScript In JScript, you can use structures, but you cannot define your own.
Members Table
The following table lists the members exposed by the object.
Fields
Field Description Format Retrieves the VertexFormats for the current custom vertex. Nx Retrieves or sets the nx component of the vertex normal. Ny Retrieves or sets the ny component of the vertex normal. Nz Retrieves or sets the nz component of the vertex normal. X Retrieves or sets the x component of the position. Y Retrieves or sets the y component of the position. Z Retrieves or sets the z component of the position. Methods
Method Description PositionNormal Initializes a new instance of the CustomVertex.PositionNormal class. ToString Obtains a string representation of the current instance. Properties
Property Description Normal Retrieves or sets the vertex normal data. Position Retrieves or sets the vertex position. StrideSize Retrieves the size of the CustomVertex.PositionNormal structure.
Structure Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492
See Also