owlGetMappedItem

...

Syntax

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

[DllImport(enginedll, EntryPoint = "owlGetMappedItem")]
public static extern void x86_owlGetMappedItem(Int32 model, Int32 instance, out Int64 owlInstance, out double transformationMatrix);

[DllImport(enginedll, EntryPoint = "owlGetMappedItem")]
public static extern void x64_owlGetMappedItem(Int64 model, Int64 instance, out Int64 owlInstance, out double transformationMatrix);

public static void owlGetMappedItem(Int64 model, Int64 instance, out Int64 owlInstance, out double transformationMatrix)
		{
			if (IntPtr.Size == 4)
			{
				x86_owlGetMappedItem((Int32)model, (Int32)instance, out Int64 _owlInstance, out double _transformationMatrix);
				owlInstance = _owlInstance;
				transformationMatrix = _transformationMatrix;
			}
			else
			{
				x64_owlGetMappedItem(model, instance, out owlInstance, out transformationMatrix);
			}
		}    

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 owlInstance

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

Property transformationMatrix

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