CustomVertex.PositionOnly Structure

Language:

Describes a custom vertex format structure that contains only position data.

Definition

Visual Basic Public Structure PositionOnly
C# public struct PositionOnly 
C++ public value class PositionOnly sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

Field Description
static (Shared in Visual Basic) Format Retrieves the VertexFormats for the current custom vertex.
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.
Method Description
PositionOnly Initializes a new instance of the CustomVertex.PositionOnly class.
ToString Obtains a string representation of the current instance.
Property Description
Position Retrieves or sets the vertex position.
static (Shared in Visual Basic) StrideSize Retrieves the size of the CustomVertex.PositionOnly 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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center