pyvista.Property.culling#
- property Property.culling: str[ソース]#
フェースカリングを返すか設定します.
選択された面はレンダリングされません.これは,高密度のサーフェイスメッシュ,特にエッジが表示されている場合に便利ですが,フラットメッシュが部分的に表示されることがあります.デフォルトは
'none'
です.以下のいずれか1つです:"back"
- バックフェースカリングを有効にします."front"
- フロントフェイスカリングを有効にします.'none'
- バックフェイスおよびフロントフェイスのカリングを無効にします.
例
Get the default culling value and visualize it.
>>> import pyvista as pv >>> prop = pv.Property() >>> prop.culling 'none'
>>> 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()
フロントフェースカリングをプロットします.ここでは,正面を向いた面は完全に隠されています.
>>> prop.culling = 'front' >>> prop.plot()