Returns the size and the offset of the normal for the given vertex format.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void GetVertexFormatSizeAndOffsets( VertexFormats vertexFormat, out int size, out int vertexPosOfs, out int normalPosOfs ) |
Parameters
- vertexFormat
- Type: VertexFormats
Vertex format.
- size
- Type:
System..::.Int32
%
Return value of the vertex record size in bytes.
- vertexPosOfs
- Type:
System..::.Int32
%
Return value of the vertex position (it's 3D coordinate) offset from the record beginning in bytes.
- normalPosOfs
- Type:
System..::.Int32
%
Return value of the vertex normal offset from the record beginnng in bytes.