Gets the offset for a Vertex Buffer.
Syntax
public const string enginedll = @"engine.dll";
[DllImport(enginedll, EntryPoint = "GetVertexBufferOffset")]
public static extern void GetVertexBufferOffset(Int64 model, out double x, out double y, out double z);
public static void GetVertexBufferOffset(Int64 model, ref double offset)
{
GetVertexBufferOffset(
model,
out offset[0],
out offset[1],
out offset[2]
);
}
Property model
Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.
Property x
Size: 64 bit / 8 byte (reference)
x Coordinate
Property y
Size: 64 bit / 8 byte (reference)
y Coordinate
Property z
Size: 64 bit / 8 byte (reference)
z Coordinate