internal static int spawnObject(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string additionalProps) { if (_spawnObjectFunc == null) { _spawnObjectFunc = (_spawnObject)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_SpawnSphere_spawnObject"), typeof(_spawnObject)); } return(_spawnObjectFunc(thisPtr, additionalProps)); }
set => SetProperty(ref _spawnObject, value);