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); } }