// * // Set the cell mode of texture. // \param mode New mode for cell ground (default MODE_GRID) // public Cell setMode(CELL_MODE mode) { mMode = mode; return this; }
// * // Default constructor. // \param pBuffer Image buffer where to store the generated image. // public Cell(TextureBuffer pBuffer) : base(pBuffer, "Cell") { mColour = ColourValue.White; mRegularity = 128; mDensity = 8; mMode = CELL_MODE.MODE_GRID; mPattern = CELL_PATTERN.PATTERN_BOTH; mSeed = 5120; }