getInstanceDerivedBoundingBox

...

Syntax

public const string enginedll = @"engine.dll";

[DllImport(enginedll, EntryPoint = "getInstanceDerivedBoundingBox")]
public static extern Int64 x86_getInstanceDerivedBoundingBox(Int32 model, Int32 instance, out double Ox, out double Oy, out double Oz, out double Vx, out double Vy, out double Vz);

[DllImport(enginedll, EntryPoint = "getInstanceDerivedBoundingBox")]
public static extern Int64 x64_getInstanceDerivedBoundingBox(Int64 model, Int64 instance, out double Ox, out double Oy, out double Oz, out double Vx, out double Vy, out double Vz);

public static Int64 getInstanceDerivedBoundingBox(Int64 model, Int64 instance, out double Ox, out double Oy, out double Oz, out double Vx, out double Vy, out double Vz)
		{
			if (IntPtr.Size == 4)
			{
				var _result = x86_getInstanceDerivedBoundingBox((Int32)model, (Int32)instance, out double _Ox, out double _Oy, out double _Oz, out double _Vx, out double _Vy, out double _Vz);
				Ox = _Ox;
				Oy = _Oy;
				Oz = _Oz;
				Vx = _Vx;
				Vy = _Vy;
				Vz = _Vz;
				return _result;
			}
			else
			{
				return x64_getInstanceDerivedBoundingBox(model, instance, out Ox, out Oy, out Oz, out Vx, out Vy, out Vz);
			}
		}    

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 instance

Size: 64 bit / 8 byte (value)
...

Property Ox

Size: 64 bit / 8 byte (reference)
...

Property Oy

Size: 64 bit / 8 byte (reference)
...

Property Oz

Size: 64 bit / 8 byte (reference)
...

Property Vx

Size: 64 bit / 8 byte (reference)
...

Property Vy

Size: 64 bit / 8 byte (reference)
...

Property Vz

Size: 64 bit / 8 byte (reference)
...