public VertexMorphKeyFrame getVertexMorphKeyFrame(ushort index)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.VertexAnimationTrack_getVertexMorphKeyFrame(swigCPtr, index);
            VertexMorphKeyFrame   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VertexMorphKeyFrame(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public virtual VertexMorphKeyFrame createVertexMorphKeyFrame(float timePos)
        {
            global::System.IntPtr cPtr = OgrePINVOKE.VertexAnimationTrack_createVertexMorphKeyFrame(swigCPtr, timePos);
            VertexMorphKeyFrame   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VertexMorphKeyFrame(cPtr, false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VertexMorphKeyFrame obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }