# Examples from pyvista.Property.culling
# ======================================

# Get the default culling value and visualize it.
import pyvista as pv
prop = pv.Property()
prop.culling

prop.plot()

# Visualize backface culling. This looks the same as the default culling
# `'none'` because the forward facing faces are already obscuring the
# back faces.
prop.culling = 'back'
prop.plot()

# Plot frontface culling. Here, the forward facing faces are hidden
# entirely.
prop.culling = 'front'
prop.plot()

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

