public CSVectorPointEnumerator(CSVectorPoint collection) { this.collectionRef = collection; this.currentIndex = -1; this.currentObject = null; this.currentSize = this.collectionRef.Count; }
public void SetRange(int index, CSVectorPoint values) { CocoStudioEngineAdapterPINVOKE.CSVectorPoint_SetRange(this.swigCPtr, index, CSVectorPoint.getCPtr(values)); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public CSVectorPoint(CSVectorPoint other) : this(CocoStudioEngineAdapterPINVOKE.new_CSVectorPoint__SWIG_1(CSVectorPoint.getCPtr(other)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public static CSVectorPoint Repeat(Vec2 value, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorPoint_Repeat(Vec2.getCPtr(value), count); CSVectorPoint result = (intPtr == IntPtr.Zero) ? null : new CSVectorPoint(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public CSVectorPoint GetRange(int index, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorPoint_GetRange(this.swigCPtr, index, count); CSVectorPoint result = (intPtr == IntPtr.Zero) ? null : new CSVectorPoint(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public static HandleRef getCPtr(CSVectorPoint obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }