public AnimContainer(AnimContainer other) : this(SharpMochaPINVOKE.new_AnimContainer__SWIG_1(AnimContainer.getCPtr(other)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public AnimContainerEnumerator(AnimContainer collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, AnimContainer values) { SharpMochaPINVOKE.AnimContainer_SetRange(swigCPtr, index, AnimContainer.getCPtr(values)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public static AnimContainer Repeat(AssetHandle value, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.AnimContainer_Repeat(AssetHandle.getCPtr(value), count); AnimContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new AnimContainer(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public AnimContainer GetRange(int index, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.AnimContainer_GetRange(swigCPtr, index, count); AnimContainer ret = (cPtr == global::System.IntPtr.Zero) ? null : new AnimContainer(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AnimContainer obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }