class LightshipMeshingExtension
(Niantic.Lightship.AR.Meshing.LightshipMeshingExtension)。
概要
このコンポーネントを使用すると、Lightship の XRMeshingSubsystem 実装で利用可能な追加機能を設定できます。
class LightshipMeshingExtension:MonoBehaviour {
public:
// プロパティ
int TargetFrameRate;
float MaximumIntegrationDistance;
float VoxelSize;
float MeshBlockSize;
float MeshCullingDistance;
bool EnableMeshDecimation;
bool EnableDistanceBasedVolumetricCleanup;
bool IsMeshFilteringEnabled;
bool IsFilteringAllowListEnabled;
リスト<string> AllowList;
bool IsFilteringBlockListEnabled;
リスト<string> BlockList;
// メソッド
void Configure();
void Update();
};
詳細資料
このコンポーネントを使用すると、Lightship の XRMeshingSubsystem 実装で利用可能な追加機能を設定できます。
プロパティ
TargetFrameRate
int TargetFrameRate
メッシュ生成のフレームレートを取得または設定する。
MaximumIntegrationDistance
float MaximumIntegrationDistance
メッシュ生成システムが深度サンプルを3Dシーン表現に統合するカメラからの最大距離(m)を取得または設定します。
VoxelSize
float VoxelSize
シーン表現における個々のボクセル要素のサイズ(単位:m)を取得または設定する。 これを高い値に設定するとメモリ使用量は減るが、サーフェスの精度は落ちる。