/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.40 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ using System; using System.Runtime.InteropServices; public class aiAnimation : IDisposable { private HandleRef swigCPtr; protected bool swigCMemOwn; internal aiAnimation(IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new HandleRef(this, cPtr); } internal static HandleRef getCPtr(aiAnimation obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; } ~aiAnimation() { Dispose(); } public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; Assimp_NETPINVOKE.delete_aiAnimation(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } } public aiString mName { set { Assimp_NETPINVOKE.aiAnimation_mName_set(swigCPtr, aiString.getCPtr(value)); } get { IntPtr cPtr = Assimp_NETPINVOKE.aiAnimation_mName_get(swigCPtr); aiString ret = (cPtr == IntPtr.Zero) ? null : new aiString(cPtr, false); return ret; } } public double mDuration { set { Assimp_NETPINVOKE.aiAnimation_mDuration_set(swigCPtr, value); } get { double ret = Assimp_NETPINVOKE.aiAnimation_mDuration_get(swigCPtr); return ret; } } public double mTicksPerSecond { set { Assimp_NETPINVOKE.aiAnimation_mTicksPerSecond_set(swigCPtr, value); } get { double ret = Assimp_NETPINVOKE.aiAnimation_mTicksPerSecond_get(swigCPtr); return ret; } } public uint mNumChannels { set { Assimp_NETPINVOKE.aiAnimation_mNumChannels_set(swigCPtr, value); } get { uint ret = Assimp_NETPINVOKE.aiAnimation_mNumChannels_get(swigCPtr); return ret; } } public SWIGTYPE_p_p_aiNodeAnim mChannels { set { Assimp_NETPINVOKE.aiAnimation_mChannels_set(swigCPtr, SWIGTYPE_p_p_aiNodeAnim.getCPtr(value)); } get { IntPtr cPtr = Assimp_NETPINVOKE.aiAnimation_mChannels_get(swigCPtr); SWIGTYPE_p_p_aiNodeAnim ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiNodeAnim(cPtr, false); return ret; } } public uint mNumMeshChannels { set { Assimp_NETPINVOKE.aiAnimation_mNumMeshChannels_set(swigCPtr, value); } get { uint ret = Assimp_NETPINVOKE.aiAnimation_mNumMeshChannels_get(swigCPtr); return ret; } } public SWIGTYPE_p_p_aiMeshAnim mMeshChannels { set { Assimp_NETPINVOKE.aiAnimation_mMeshChannels_set(swigCPtr, SWIGTYPE_p_p_aiMeshAnim.getCPtr(value)); } get { IntPtr cPtr = Assimp_NETPINVOKE.aiAnimation_mMeshChannels_get(swigCPtr); SWIGTYPE_p_p_aiMeshAnim ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_aiMeshAnim(cPtr, false); return ret; } } public aiAnimation() : this(Assimp_NETPINVOKE.new_aiAnimation(), true) { } }