Exemplo n.º 1
0
        void SetInt(UnsafeNativeMethods.ObjectAttrsInteger which, int setValue)
        {
            IntPtr ptr = NonConstPointer();

            UnsafeNativeMethods.ON_3dmObjectAttributes_GetSetInt(ptr, which, true, setValue);
        }
Exemplo n.º 2
0
        int GetInt(UnsafeNativeMethods.ObjectAttrsInteger which)
        {
            IntPtr ptr = ConstPointer();

            return(UnsafeNativeMethods.ON_3dmObjectAttributes_GetSetInt(ptr, which, false, 0));
        }