public CSVectorFloatEnumerator(CSVectorFloat collection) { this.collectionRef = collection; this.currentIndex = -1; this.currentObject = null; this.currentSize = this.collectionRef.Count; }
public void SetRange(int index, CSVectorFloat values) { CocoStudioEngineAdapterPINVOKE.CSVectorFloat_SetRange(this.swigCPtr, index, CSVectorFloat.getCPtr(values)); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public CSVectorFloat(CSVectorFloat other) : this(CocoStudioEngineAdapterPINVOKE.new_CSVectorFloat__SWIG_1(CSVectorFloat.getCPtr(other)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public static CSVectorFloat Repeat(float value, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorFloat_Repeat(value, count); CSVectorFloat result = (intPtr == IntPtr.Zero) ? null : new CSVectorFloat(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public CSVectorFloat GetRange(int index, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorFloat_GetRange(this.swigCPtr, index, count); CSVectorFloat result = (intPtr == IntPtr.Zero) ? null : new CSVectorFloat(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public static HandleRef getCPtr(CSVectorFloat obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }