getVisibleAt method

bool getVisibleAt(
  1. dynamic geometryId
)

Implementation

bool getVisibleAt( geometryId ) {
	final visibility = _visibility;
	final active = _active;
	final geometryCount = _geometryCount;

	// return early if the geometry is out of range or not active
	if ( geometryId >= geometryCount || active[ geometryId ] == false ) {
		return false;
	}

	return visibility[ geometryId ];
}