/** * Create a GridBoard object * * param markersX number of markers in X direction * param markersY number of markers in Y direction * param markerLength marker side length (normally in meters) * param markerSeparation separation between two markers (same unit as markerLength) * param dictionary dictionary of markers indicating the type of markers * return the output GridBoard object * * This functions creates a GridBoard object given the number of markers in each direction and * the marker size and marker separation. */ public static GridBoard create(int markersX, int markersY, float markerLength, float markerSeparation, Dictionary dictionary) { if (dictionary != null) { dictionary.ThrowIfDisposed(); } return(GridBoard.__fromPtr__(aruco_GridBoard_create_11(markersX, markersY, markerLength, markerSeparation, dictionary.getNativeObjAddr()))); }
//javadoc: GridBoard::create(markersX, markersY, markerLength, markerSeparation, dictionary) public static GridBoard create(int markersX, int markersY, float markerLength, float markerSeparation, Dictionary dictionary) { if (dictionary != null) { dictionary.ThrowIfDisposed(); } #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER GridBoard retVal = GridBoard.__fromPtr__(aruco_GridBoard_create_11(markersX, markersY, markerLength, markerSeparation, dictionary.getNativeObjAddr())); return(retVal); #else return(null); #endif }