Exemplo n.º 1
0
 /// <summary>Called to write an array of bytes to the stream. </summary>
 /// <param name="buffer">Array of bytes, size bytes in size. </param>
 /// <param name="size">Size, in bytes of buffer. </param>
 public virtual NxStream storeBuffer(System.IntPtr buffer, uint size)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxStream.GetClass(NxStream_storeBuffer_INVOKE(ClassPointer, doSetFunctionPointers, buffer, size)));
 }
Exemplo n.º 2
0
 /// <summary>Called to write a double precision floating point value to the stream(64 bits). </summary>
 /// <param name="f">floating point value to store. </param>
 public virtual NxStream storeDouble(double f)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxStream.GetClass(NxStream_storeDouble_INVOKE(ClassPointer, doSetFunctionPointers, f)));
 }
Exemplo n.º 3
0
 private bool NxScaleCookedConvexMesh_virtual(IntPtr source, float scale, IntPtr dest)
 {
     return(NxScaleCookedConvexMesh(NxStream.GetClass(source), scale, NxStream.GetClass(dest)));
 }
Exemplo n.º 4
0
 private bool NxCookSoftBodyMesh_virtual(IntPtr desc, IntPtr stream)
 {
     return(NxCookSoftBodyMesh(NxSoftBodyMeshDesc.GetClass(desc), NxStream.GetClass(stream)));
 }
Exemplo n.º 5
0
 private bool NxCookTriangleMesh_virtual(IntPtr desc, IntPtr stream)
 {
     return(NxCookTriangleMesh(NxTriangleMeshDesc.GetClass(desc), NxStream.GetClass(stream)));
 }
Exemplo n.º 6
0
 private bool load_virtual(IntPtr stream)
 {
     return(load(NxStream.GetClass(stream)));
 }
Exemplo n.º 7
0
 /// <summary>Store a signed dword(wrapper for the unsigned version). </summary>
 /// <param name="d">DWord to store. </param>
 public NxStream storeDword(int d)
 {
     return(NxStream.GetClass(NxStream_storeDword_1_INVOKE(ClassPointer, doSetFunctionPointers, d)));
 }
Exemplo n.º 8
0
 /// <summary>Store a signed word(wrapper for the unsigned version). </summary>
 /// <param name="w">Word to store. </param>
 public NxStream storeWord(short w)
 {
     return(NxStream.GetClass(NxStream_storeWord_1_INVOKE(ClassPointer, doSetFunctionPointers, w)));
 }
Exemplo n.º 9
0
 /// <summary>Store a signed byte(wrapper for the unsigned version). </summary>
 /// <param name="b">Byte to store. </param>
 public NxStream storeByte(sbyte b)
 {
     return(NxStream.GetClass(NxStream_storeByte_1_INVOKE(ClassPointer, doSetFunctionPointers, b)));
 }
Exemplo n.º 10
0
 private IntPtr createSoftBodyMesh_virtual(IntPtr stream)
 {
     return(createSoftBodyMesh(NxStream.GetClass(stream)).ClassPointer.Handle);
 }
Exemplo n.º 11
0
 private IntPtr createConvexMesh_virtual(IntPtr mesh)
 {
     return(createConvexMesh(NxStream.GetClass(mesh)).ClassPointer.Handle);
 }