Beispiel #1
0
 /// <summary>Constructor sets to default. </summary>
 /// <param name="type">effector type </param>
 protected NxEffectorDesc(NxEffectorType type) :
     base(IntPtr.Zero)
 {
     if ((GetType() != typeof(NxEffectorDesc)))
     {
         doSetFunctionPointers = true;
         SetPointer(new_NxEffectorDesc_INVOKE(doSetFunctionPointers, type));
         System.IntPtr[] pointers = CreateFunctionPointers().ToArray();
         set_pointers_INVOKE(ClassPointer, pointers, pointers.Length);
     }
     else
     {
         SetPointer(new_NxEffectorDesc_INVOKE(doSetFunctionPointers, type));
     }
     GC.ReRegisterForFinalize(this);
 }
Beispiel #2
0
 /// <summary>Type casting operator. The result may be cast to the desired subclass type. </summary>
 /// <param name="type">Used to query for a specific effector type. </param>
 public System.IntPtr @is(NxEffectorType type)
 {
     return(NxEffector_is_INVOKE(ClassPointer, doSetFunctionPointers, type));
 }
Beispiel #3
0
 private extern static System.IntPtr NxEffector_is_1_INVOKE(HandleRef classPointer, System.Boolean call_explicit, NxEffectorType type);
Beispiel #4
0
 private extern static IntPtr new_NxEffectorDesc_INVOKE(System.Boolean do_override, NxEffectorType type);