% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visibility.R
\name{cgv_set_visibility}
\alias{cgv_set_visibility}
\title{Set Visibility Depth}
\usage{
cgv_set_visibility(viewer, depth = 10L)
}
\arguments{
\item{viewer}{External pointer returned by \code{cgv_viewer}.}

\item{depth}{Integer number of hops (default 10).}
}
\value{
No return value, called for side effects: updates the
  visibility depth used to filter rendered nodes by BFS distance.
  Returns \code{NULL} invisibly.
}
\description{
Controls how many hops from the current focus node are rendered.
}
