diff --git a/Assets/BMapBindings/BMapSharp/BMapSharp/BMap.cs b/Assets/BMapBindings/BMapSharp/BMapSharp/BMap.cs
index 01e7e63..896b5c3 100644
--- a/Assets/BMapBindings/BMapSharp/BMapSharp/BMap.cs
+++ b/Assets/BMapBindings/BMapSharp/BMapSharp/BMap.cs
@@ -1,6 +1,5 @@
using System;
using System.Runtime.InteropServices;
-using System.Text;
using BMapSharp.BMapMarshalers;
using BMapSharp.VirtoolsTypes;
@@ -26,7 +25,7 @@ namespace BMapSharp {
#region Function Defines
// ##### GENERATED FUNCTIONS BEGIN #####
-
+
/// BMInit
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMInit", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
@@ -38,1066 +37,1186 @@ namespace BMapSharp {
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMDispose();
/// BMFile_Load
- /// Type: LibCmo::CKSTRING.
- /// Type: LibCmo::CKSTRING.
- /// Type: LibCmo::CKSTRING.
- /// Type: BMap::NakedOutputCallback.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CKSTRING*.
- /// Type: BMap::BMFile*. This is OUT parameter.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: BMap::NakedOutputCallback.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: LibCmo::CKSTRING*.
+ /// Direction: output. C++ type: BMap::BMFile*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Load", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMFile_Load([In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string file_name, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string temp_folder, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string texture_folder, [In, MarshalAs(UnmanagedType.FunctionPtr)] OutputCallback raw_callback, [In, MarshalAs(UnmanagedType.U4)] uint encoding_count, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringArrayMarshaler), MarshalCookie = "In")] string[] encodings, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_file);
+ internal static extern bool BMFile_Load([In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string file_name, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string temp_folder, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string texture_folder, [In, MarshalAs(UnmanagedType.FunctionPtr)] OutputCallback raw_callback, [In, MarshalAs(UnmanagedType.U4)] uint encoding_count, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringArrayMarshaler))] string[] encodings, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_file);
/// BMFile_Create
- /// Type: LibCmo::CKSTRING.
- /// Type: LibCmo::CKSTRING.
- /// Type: BMap::NakedOutputCallback.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CKSTRING*.
- /// Type: BMap::BMFile*. This is OUT parameter.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: BMap::NakedOutputCallback.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: LibCmo::CKSTRING*.
+ /// Direction: output. C++ type: BMap::BMFile*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Create", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMFile_Create([In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string temp_folder, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string texture_folder, [In, MarshalAs(UnmanagedType.FunctionPtr)] OutputCallback raw_callback, [In, MarshalAs(UnmanagedType.U4)] uint encoding_count, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringArrayMarshaler), MarshalCookie = "In")] string[] encodings, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_file);
+ internal static extern bool BMFile_Create([In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string temp_folder, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string texture_folder, [In, MarshalAs(UnmanagedType.FunctionPtr)] OutputCallback raw_callback, [In, MarshalAs(UnmanagedType.U4)] uint encoding_count, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringArrayMarshaler))] string[] encodings, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_file);
/// BMFile_Save
- /// Type: BMap::BMFile*.
- /// Type: LibCmo::CKSTRING.
- /// Type: LibCmo::CK2::CK_TEXTURE_SAVEOPTIONS.
- /// Type: bool.
- /// Type: LibCmo::CKINT.
+ /// Direction: input. C++ type: BMap::BMFile*.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_TEXTURE_SAVEOPTIONS.
+ /// Direction: input. C++ type: bool.
+ /// Direction: input. C++ type: LibCmo::CKINT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Save", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMFile_Save([In, MarshalAs(UnmanagedType.SysInt)] IntPtr map_file, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string file_name, [In, MarshalAs(UnmanagedType.U4)] CK_TEXTURE_SAVEOPTIONS texture_save_opt, [In, MarshalAs(UnmanagedType.U1)] bool use_compress, [In, MarshalAs(UnmanagedType.I4)] int compreess_level);
+ internal static extern bool BMFile_Save([In, MarshalAs(UnmanagedType.SysInt)] IntPtr map_file, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string file_name, [In, MarshalAs(UnmanagedType.U4)] CK_TEXTURE_SAVEOPTIONS texture_save_opt, [In, MarshalAs(UnmanagedType.U1)] bool use_compress, [In, MarshalAs(UnmanagedType.I4)] int compreess_level);
/// BMFile_Free
- /// Type: BMap::BMFile*.
+ /// Direction: input. C++ type: BMap::BMFile*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Free", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_Free([In, MarshalAs(UnmanagedType.SysInt)] IntPtr map_file);
/// BMFile_GetGroupCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetGroupCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetGroupCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMFile_GetGroup
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetGroup", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetGroup([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_CreateGroup
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_CreateGroup", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_CreateGroup([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_Get3dObjectCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Get3dObjectCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_Get3dObjectCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMFile_Get3dObject
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Get3dObject", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_Get3dObject([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_Create3dObject
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_Create3dObject", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_Create3dObject([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_GetMeshCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetMeshCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetMeshCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMFile_GetMesh
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetMesh", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetMesh([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_CreateMesh
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_CreateMesh", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_CreateMesh([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_GetMaterialCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetMaterialCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetMaterialCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMFile_GetMaterial
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetMaterial", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetMaterial([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_CreateMaterial
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_CreateMaterial", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_CreateMaterial([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_GetTextureCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetTextureCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetTextureCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMFile_GetTexture
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetTexture", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetTexture([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_CreateTexture
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_CreateTexture", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_CreateTexture([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_GetTargetLightCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetTargetLightCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetTargetLightCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMFile_GetTargetLight
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_GetTargetLight", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_GetTargetLight([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMFile_CreateTargetLight
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMFile_CreateTargetLight", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMFile_CreateTargetLight([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
+ /// BMFile_GetTargetCameraCount
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMFile_GetTargetCameraCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMFile_GetTargetCameraCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
+ /// BMFile_GetTargetCamera
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMFile_GetTargetCamera", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMFile_GetTargetCamera([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint idx, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
+ /// BMFile_CreateTargetCamera
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMFile_CreateTargetCamera", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMFile_CreateTargetCamera([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [Out, MarshalAs(UnmanagedType.U4)] out uint out_id);
/// BMMeshTrans_New
- /// Type: BMap::BMMeshTransition*. This is OUT parameter.
+ /// Direction: output. C++ type: BMap::BMMeshTransition*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_New", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_New([Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_trans);
/// BMMeshTrans_Delete
- /// Type: BMap::BMMeshTransition*.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_Delete", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_Delete([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans);
/// BMMeshTrans_PrepareVertexCount
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareVertexCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareVertexCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMeshTrans_PrepareVertex
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::VxMath::VxVector3*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxVector3*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareVertex", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareVertex([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareNormalCount
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareNormalCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareNormalCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMeshTrans_PrepareNormal
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::VxMath::VxVector3*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxVector3*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareNormal", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareNormal([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareUVCount
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareUVCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareUVCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMeshTrans_PrepareUV
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::VxMath::VxVector2*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxVector2*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareUV", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareUV([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareMtlSlotCount
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareMtlSlotCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareMtlSlotCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMeshTrans_PrepareMtlSlot
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CK2::CK_ID*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareMtlSlot", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareMtlSlot([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareFaceCount
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareFaceCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareFaceCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMeshTrans_PrepareFaceVertexIndices
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::CKDWORD*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareFaceVertexIndices", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareFaceVertexIndices([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareFaceNormalIndices
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::CKDWORD*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareFaceNormalIndices", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareFaceNormalIndices([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareFaceUVIndices
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::CKDWORD*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareFaceUVIndices", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareFaceUVIndices([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_PrepareFaceMtlSlot
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: LibCmo::CKDWORD*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: output. C++ type: LibCmo::CKDWORD*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_PrepareFaceMtlSlot", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_PrepareFaceMtlSlot([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMeshTrans_Parse
- /// Type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
- /// Type: BMap::BMFile*.
- /// Type: LibCmo::CK2::CK_ID.
+ /// Direction: input. C++ type: BMap::BMMeshTransition*. The pointer to corresponding BMMeshTransition.
+ /// Direction: input. C++ type: BMap::BMFile*.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMeshTrans_Parse", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMeshTrans_Parse([In, MarshalAs(UnmanagedType.SysInt)] IntPtr trans, [In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid);
/// BMObject_GetName
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKSTRING. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKSTRING.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMObject_GetName", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMObject_GetName([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "Out")] out string out_name);
+ internal static extern bool BMObject_GetName([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler))] out string out_name);
/// BMObject_SetName
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMObject_SetName", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMObject_SetName([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string name);
+ internal static extern bool BMObject_SetName([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string name);
/// BMGroup_AddObject
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_ID.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMGroup_AddObject", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMGroup_AddObject([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint memberid);
/// BMGroup_GetObjectCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMGroup_GetObjectCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMGroup_GetObjectCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMGroup_GetObject
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMGroup_GetObject", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMGroup_GetObject([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint pos, [Out, MarshalAs(UnmanagedType.U4)] out uint out_objid);
/// BMTexture_GetFileName
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKSTRING. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKSTRING.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_GetFileName", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMTexture_GetFileName([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "Out")] out string out_filename);
+ internal static extern bool BMTexture_GetFileName([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler))] out string out_filename);
/// BMTexture_LoadImage
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_LoadImage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMTexture_LoadImage([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string filename);
+ internal static extern bool BMTexture_LoadImage([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string filename);
/// BMTexture_SaveImage
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKSTRING.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKSTRING.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_SaveImage", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
- internal static extern bool BMTexture_SaveImage([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "In")] string filename);
+ internal static extern bool BMTexture_SaveImage([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMOwnedStringMarshaler))] string filename);
/// BMTexture_GetSaveOptions
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_TEXTURE_SAVEOPTIONS. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_TEXTURE_SAVEOPTIONS.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_GetSaveOptions", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMTexture_GetSaveOptions([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out CK_TEXTURE_SAVEOPTIONS out_saveopt);
/// BMTexture_SetSaveOptions
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_TEXTURE_SAVEOPTIONS.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_TEXTURE_SAVEOPTIONS.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_SetSaveOptions", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMTexture_SetSaveOptions([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] CK_TEXTURE_SAVEOPTIONS saveopt);
/// BMTexture_GetVideoFormat
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VX_PIXELFORMAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VX_PIXELFORMAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_GetVideoFormat", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMTexture_GetVideoFormat([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VX_PIXELFORMAT out_vfmt);
/// BMTexture_SetVideoFormat
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VX_PIXELFORMAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VX_PIXELFORMAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMTexture_SetVideoFormat", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMTexture_SetVideoFormat([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VX_PIXELFORMAT vfmt);
/// BMMaterial_GetDiffuse
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetDiffuse", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetDiffuse([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.Struct)] out VxColor out_val);
/// BMMaterial_SetDiffuse
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetDiffuse", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetDiffuse([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.Struct)] VxColor col);
/// BMMaterial_GetAmbient
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetAmbient", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetAmbient([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.Struct)] out VxColor out_val);
/// BMMaterial_SetAmbient
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetAmbient", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetAmbient([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.Struct)] VxColor col);
/// BMMaterial_GetSpecular
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetSpecular", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetSpecular([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.Struct)] out VxColor out_val);
/// BMMaterial_SetSpecular
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetSpecular", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetSpecular([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.Struct)] VxColor col);
/// BMMaterial_GetEmissive
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetEmissive", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetEmissive([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.Struct)] out VxColor out_val);
/// BMMaterial_SetEmissive
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetEmissive", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetEmissive([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.Struct)] VxColor col);
/// BMMaterial_GetSpecularPower
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetSpecularPower", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetSpecularPower([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMMaterial_SetSpecularPower
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetSpecularPower", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetSpecularPower([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMMaterial_GetTexture
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTexture", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTexture([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_texid);
/// BMMaterial_SetTexture
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_ID.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTexture", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTexture([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint texid);
/// BMMaterial_GetTextureBorderColor
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTextureBorderColor", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTextureBorderColor([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_val);
/// BMMaterial_SetTextureBorderColor
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTextureBorderColor", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTextureBorderColor([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint val);
/// BMMaterial_GetTextureBlendMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_BLENDMODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXTEXTURE_BLENDMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTextureBlendMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTextureBlendMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXTEXTURE_BLENDMODE out_val);
/// BMMaterial_SetTextureBlendMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_BLENDMODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXTEXTURE_BLENDMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTextureBlendMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTextureBlendMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXTEXTURE_BLENDMODE val);
/// BMMaterial_GetTextureMinMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_FILTERMODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXTEXTURE_FILTERMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTextureMinMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTextureMinMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXTEXTURE_FILTERMODE out_val);
/// BMMaterial_SetTextureMinMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_FILTERMODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXTEXTURE_FILTERMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTextureMinMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTextureMinMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXTEXTURE_FILTERMODE val);
/// BMMaterial_GetTextureMagMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_FILTERMODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXTEXTURE_FILTERMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTextureMagMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTextureMagMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXTEXTURE_FILTERMODE out_val);
/// BMMaterial_SetTextureMagMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_FILTERMODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXTEXTURE_FILTERMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTextureMagMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTextureMagMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXTEXTURE_FILTERMODE val);
/// BMMaterial_GetTextureAddressMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_ADDRESSMODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXTEXTURE_ADDRESSMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTextureAddressMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTextureAddressMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXTEXTURE_ADDRESSMODE out_val);
/// BMMaterial_SetTextureAddressMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXTEXTURE_ADDRESSMODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXTEXTURE_ADDRESSMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTextureAddressMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTextureAddressMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXTEXTURE_ADDRESSMODE val);
/// BMMaterial_GetSourceBlend
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXBLEND_MODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXBLEND_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetSourceBlend", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetSourceBlend([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXBLEND_MODE out_val);
/// BMMaterial_SetSourceBlend
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXBLEND_MODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXBLEND_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetSourceBlend", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetSourceBlend([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXBLEND_MODE val);
/// BMMaterial_GetDestBlend
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXBLEND_MODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXBLEND_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetDestBlend", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetDestBlend([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXBLEND_MODE out_val);
/// BMMaterial_SetDestBlend
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXBLEND_MODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXBLEND_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetDestBlend", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetDestBlend([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXBLEND_MODE val);
/// BMMaterial_GetFillMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXFILL_MODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXFILL_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetFillMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetFillMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXFILL_MODE out_val);
/// BMMaterial_SetFillMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXFILL_MODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXFILL_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetFillMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetFillMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXFILL_MODE val);
/// BMMaterial_GetShadeMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXSHADE_MODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXSHADE_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetShadeMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetShadeMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXSHADE_MODE out_val);
/// BMMaterial_SetShadeMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXSHADE_MODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXSHADE_MODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetShadeMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetShadeMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXSHADE_MODE val);
/// BMMaterial_GetAlphaTestEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetAlphaTestEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetAlphaTestEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out bool out_val);
/// BMMaterial_SetAlphaTestEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetAlphaTestEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetAlphaTestEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] bool enabled);
/// BMMaterial_GetAlphaBlendEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetAlphaBlendEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetAlphaBlendEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out bool out_val);
/// BMMaterial_SetAlphaBlendEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetAlphaBlendEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetAlphaBlendEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] bool enabled);
/// BMMaterial_GetPerspectiveCorrectionEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetPerspectiveCorrectionEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetPerspectiveCorrectionEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out bool out_val);
/// BMMaterial_SetPerspectiveCorrectionEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetPerspectiveCorrectionEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetPerspectiveCorrectionEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] bool enabled);
/// BMMaterial_GetZWriteEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetZWriteEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetZWriteEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out bool out_val);
/// BMMaterial_SetZWriteEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetZWriteEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetZWriteEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] bool enabled);
/// BMMaterial_GetTwoSidedEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetTwoSidedEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetTwoSidedEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out bool out_val);
/// BMMaterial_SetTwoSidedEnabled
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetTwoSidedEnabled", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetTwoSidedEnabled([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] bool enabled);
/// BMMaterial_GetAlphaRef
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKBYTE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKBYTE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetAlphaRef", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetAlphaRef([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out byte out_val);
/// BMMaterial_SetAlphaRef
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKBYTE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKBYTE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetAlphaRef", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetAlphaRef([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] byte val);
/// BMMaterial_GetAlphaFunc
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXCMPFUNC. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXCMPFUNC.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetAlphaFunc", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetAlphaFunc([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXCMPFUNC out_val);
/// BMMaterial_SetAlphaFunc
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXCMPFUNC.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXCMPFUNC.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetAlphaFunc", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetAlphaFunc([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXCMPFUNC val);
/// BMMaterial_GetZFunc
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXCMPFUNC. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXCMPFUNC.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_GetZFunc", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_GetZFunc([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXCMPFUNC out_val);
/// BMMaterial_SetZFunc
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXCMPFUNC.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXCMPFUNC.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMaterial_SetZFunc", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMaterial_SetZFunc([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXCMPFUNC val);
/// BMMesh_GetLitMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXMESH_LITMODE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXMESH_LITMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetLitMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetLitMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXMESH_LITMODE out_mode);
/// BMMesh_SetLitMode
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXMESH_LITMODE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXMESH_LITMODE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_SetLitMode", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_SetLitMode([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXMESH_LITMODE mode);
/// BMMesh_GetVertexCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetVertexCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetVertexCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMMesh_SetVertexCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_SetVertexCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_SetVertexCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMesh_GetVertexPositions
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxVector3*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxVector3*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetVertexPositions", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetVertexPositions([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMesh_GetVertexNormals
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxVector3*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxVector3*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetVertexNormals", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetVertexNormals([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMesh_GetVertexUVs
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxVector2*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxVector2*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetVertexUVs", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetVertexUVs([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMesh_GetFaceCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetFaceCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetFaceCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMMesh_SetFaceCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_SetFaceCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_SetFaceCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMesh_GetFaceIndices
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKWORD*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKWORD*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetFaceIndices", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetFaceIndices([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMesh_GetFaceMaterialSlotIndexs
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKWORD*. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKWORD*.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetFaceMaterialSlotIndexs", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetFaceMaterialSlotIndexs([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.SysInt)] out IntPtr out_mem);
/// BMMesh_GetMaterialSlotCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetMaterialSlotCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetMaterialSlotCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_count);
/// BMMesh_SetMaterialSlotCount
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_SetMaterialSlotCount", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_SetMaterialSlotCount([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint count);
/// BMMesh_GetMaterialSlot
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_GetMaterialSlot", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_GetMaterialSlot([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint index, [Out, MarshalAs(UnmanagedType.U4)] out uint out_mtlid);
/// BMMesh_SetMaterialSlot
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKDWORD.
- /// Type: LibCmo::CK2::CK_ID.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMMesh_SetMaterialSlot", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMMesh_SetMaterialSlot([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint index, [In, MarshalAs(UnmanagedType.U4)] uint mtlid);
/// BM3dEntity_GetWorldMatrix
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxMatrix. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxMatrix.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BM3dEntity_GetWorldMatrix", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BM3dEntity_GetWorldMatrix([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.Struct)] out VxMatrix out_mat);
/// BM3dEntity_SetWorldMatrix
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxMatrix.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VxMatrix.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BM3dEntity_SetWorldMatrix", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BM3dEntity_SetWorldMatrix([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.Struct)] VxMatrix mat);
/// BM3dEntity_GetCurrentMesh
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_ID. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BM3dEntity_GetCurrentMesh", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BM3dEntity_GetCurrentMesh([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_meshid);
/// BM3dEntity_SetCurrentMesh
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CK2::CK_ID.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BM3dEntity_SetCurrentMesh", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BM3dEntity_SetCurrentMesh([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint meshid);
/// BM3dEntity_GetVisibility
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BM3dEntity_GetVisibility", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BM3dEntity_GetVisibility([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U1)] out bool out_isVisible);
/// BM3dEntity_SetVisibility
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: bool.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: bool.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BM3dEntity_SetVisibility", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BM3dEntity_SetVisibility([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U1)] bool is_visible);
/// BMLight_GetType
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXLIGHT_TYPE. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VXLIGHT_TYPE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetType", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetType([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out VXLIGHT_TYPE out_val);
/// BMLight_SetType
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VXLIGHT_TYPE.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VXLIGHT_TYPE.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetType", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetType([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] VXLIGHT_TYPE val);
/// BMLight_GetColor
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetColor", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetColor([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.Struct)] out VxColor out_val);
/// BMLight_SetColor
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::VxMath::VxColor.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::VxMath::VxColor.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetColor", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetColor([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.Struct)] VxColor col);
/// BMLight_GetConstantAttenuation
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetConstantAttenuation", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetConstantAttenuation([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetConstantAttenuation
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetConstantAttenuation", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetConstantAttenuation([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMLight_GetLinearAttenuation
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetLinearAttenuation", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetLinearAttenuation([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetLinearAttenuation
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetLinearAttenuation", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetLinearAttenuation([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMLight_GetQuadraticAttenuation
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetQuadraticAttenuation", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetQuadraticAttenuation([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetQuadraticAttenuation
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetQuadraticAttenuation", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetQuadraticAttenuation([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMLight_GetRange
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetRange", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetRange([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetRange
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetRange", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetRange([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMLight_GetHotSpot
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetHotSpot", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetHotSpot([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetHotSpot
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetHotSpot", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetHotSpot([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMLight_GetFalloff
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetFalloff", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetFalloff([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetFalloff
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetFalloff", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetFalloff([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
/// BMLight_GetFalloffShape
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT. This is OUT parameter.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_GetFalloffShape", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_GetFalloffShape([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
/// BMLight_SetFalloffShape
- /// Type: BMap::BMFile*. The pointer to corresponding BMFile.
- /// Type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
- /// Type: LibCmo::CKFLOAT.
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
/// True if no error, otherwise False.
[DllImport(DLL_NAME, EntryPoint = "BMLight_SetFalloffShape", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool BMLight_SetFalloffShape([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
+ /// BMCamera_GetProjectionType
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CK2::CK_CAMERA_PROJECTION.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_GetProjectionType", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_GetProjectionType([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out CK_CAMERA_PROJECTION out_val);
+ /// BMCamera_SetProjectionType
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_CAMERA_PROJECTION.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_SetProjectionType", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_SetProjectionType([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] CK_CAMERA_PROJECTION val);
+ /// BMCamera_GetOrthographicZoom
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_GetOrthographicZoom", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_GetOrthographicZoom([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
+ /// BMCamera_SetOrthographicZoom
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_SetOrthographicZoom", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_SetOrthographicZoom([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
+ /// BMCamera_GetFrontPlane
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_GetFrontPlane", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_GetFrontPlane([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
+ /// BMCamera_SetFrontPlane
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_SetFrontPlane", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_SetFrontPlane([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
+ /// BMCamera_GetBackPlane
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_GetBackPlane", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_GetBackPlane([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
+ /// BMCamera_SetBackPlane
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_SetBackPlane", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_SetBackPlane([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
+ /// BMCamera_GetFov
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_GetFov", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_GetFov([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.R4)] out float out_val);
+ /// BMCamera_SetFov
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKFLOAT.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_SetFov", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_SetFov([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.R4)] float val);
+ /// BMCamera_GetAspectRatio
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
+ /// Direction: output. C++ type: LibCmo::CKDWORD.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_GetAspectRatio", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_GetAspectRatio([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [Out, MarshalAs(UnmanagedType.U4)] out uint out_width, [Out, MarshalAs(UnmanagedType.U4)] out uint out_height);
+ /// BMCamera_SetAspectRatio
+ /// Direction: input. C++ type: BMap::BMFile*. The pointer to corresponding BMFile.
+ /// Direction: input. C++ type: LibCmo::CK2::CK_ID. The CKID of object you accessing.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// Direction: input. C++ type: LibCmo::CKDWORD.
+ /// True if no error, otherwise False.
+ [DllImport(DLL_NAME, EntryPoint = "BMCamera_SetAspectRatio", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+ [return: MarshalAs(UnmanagedType.U1)]
+ internal static extern bool BMCamera_SetAspectRatio([In, MarshalAs(UnmanagedType.SysInt)] IntPtr bmfile, [In, MarshalAs(UnmanagedType.U4)] uint objid, [In, MarshalAs(UnmanagedType.U4)] uint width, [In, MarshalAs(UnmanagedType.U4)] uint height);
// ##### GENERATED FUNCTIONS END #####
diff --git a/Assets/CodeGen/BMapBinder/ExpFctsExtractor/main.py b/Assets/CodeGen/BMapBinder/ExpFctsExtractor/main.py
index cba2373..7c2ab6b 100644
--- a/Assets/CodeGen/BMapBinder/ExpFctsExtractor/main.py
+++ b/Assets/CodeGen/BMapBinder/ExpFctsExtractor/main.py
@@ -14,7 +14,7 @@ def _get_libcmo21_repo_directory() -> Path:
def get_input_file_path() -> Path:
- return _get_libcmo21_repo_directory() / "BMap" / "BMap" / "BMExports.hpp"
+ return _get_libcmo21_repo_directory() / "Ballance" / "BMap" / "BMap" / "BMExports.hpp"
def _get_bmap_binder_directory() -> Path:
diff --git a/Assets/CodeGen/BMapBinder/ExpFctsRender/template_render.py b/Assets/CodeGen/BMapBinder/ExpFctsRender/template_render.py
index d36c697..6f50906 100644
--- a/Assets/CodeGen/BMapBinder/ExpFctsRender/template_render.py
+++ b/Assets/CodeGen/BMapBinder/ExpFctsRender/template_render.py
@@ -32,6 +32,7 @@ CPP_PY_TYPE_MAP: dict[str, str] = {
"VXSHADE_MODE": "enum",
"VXCMPFUNC": "enum",
"VXMESH_LITMODE": "enum",
+ "CK_CAMERA_PROJECTION": "enum",
}
CS_ENUM_LIKE: set[str] = set((
@@ -46,6 +47,7 @@ CS_ENUM_LIKE: set[str] = set((
"VXSHADE_MODE",
"VXCMPFUNC",
"VXMESH_LITMODE",
+ "CK_CAMERA_PROJECTION",
))
@dataclass(frozen=True)
@@ -108,10 +110,12 @@ class RenderUtils:
# only allow 0 and 1 pointer level for string.
match vt_pointer_level:
case 0:
- marshal_as = f'UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringMarshaler), MarshalCookie = "{direction_cookie}"'
+ marshaler = 'BMOwnedStringMarshaler' if param.is_input else 'BMStringMarshaler'
+ marshal_as = f'UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof({marshaler})'
cs_type = "string"
case 1:
- marshal_as = f'UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(BMStringArrayMarshaler), MarshalCookie = "{direction_cookie}"'
+ marshaler = 'BMOwnedStringArrayMarshaler' if param.is_input else 'BMStringArrayMarshaler'
+ marshal_as = f'UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof({marshaler})'
cs_type = "string[]"
case "CKDWORD":
if vt_pointer_level == 0:
diff --git a/Assets/CodeGen/BMapBinder/ExpFctsRender/templates/expfcts.cs.jinja b/Assets/CodeGen/BMapBinder/ExpFctsRender/templates/expfcts.cs.jinja
index e08acea..990e40d 100644
--- a/Assets/CodeGen/BMapBinder/ExpFctsRender/templates/expfcts.cs.jinja
+++ b/Assets/CodeGen/BMapBinder/ExpFctsRender/templates/expfcts.cs.jinja
@@ -4,7 +4,7 @@
/// Direction: {% if param.is_input -%} input {%- else -%} output {%- endif %}. C++ type: {{ param.var_type.to_c_type() }}. {{ param.var_desc }}
{%- endfor %}
/// True if no error, otherwise False.
-[DllImport(g_DllName, EntryPoint = "{{ fct.fct_name }}", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
+[DllImport(DLL_NAME, EntryPoint = "{{ fct.fct_name }}", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi, ExactSpelling = true)]
[return: MarshalAs(UnmanagedType.U1)]
internal static extern bool {{ fct.fct_name }}(
{%- for param in fct.fct_params -%}