ALiSplatActor
API リファレンス · ULodGlspComponent · 公開型
概要
text
Module GaussianSplatting
Header LiSplatActor.h
Include #include "LiSplatActor.h"ALiSplatActor はシーンに配置する Gaussian Splat Actor です。ULiSplatAsset を割り当てると、アセット内の各チャンクに対して ULodGlspComponent を一つ作成し、管理します。
メソッド
アセット
- SetSplatAsset: アセットを割り当てるか、解除します。
- GetLiSplatAsset: 現在のアセットを返します。
- GetChunkComponentCount: チャンクコンポーネント数を返します。
- GetTotalSplatCount: アセット内の Splat の総数を返します。
LOD
- SetScreenPixelFilterSizeMode: 動的フィルタリングに使用する画面サイズの取得元を選択します。
- AdjustScreenPixelQuality: 一定の刻み幅で LOD 品質を変更します。
レンダリングとライティング
- SetLightMode / GetLightMode
- SetOpacityScale
- SetSplatScale
- SetRenderFeatureSettings / GetRenderFeatureSettings
- SetNormalProxySettings / GetNormalProxySettings
- SetShadowProxySettings / GetShadowProxySettings
- SetPrimitiveLightingSettings / GetPrimitiveLightingSettings
- SetLiSplatLightingChannels
エディター操作
- Stat: パフォーマンス統計を表示します。
- LocateDataToScene: データ全体が収まるようにビューポートを調整します。
その他のリファレンス
C++ での使用方法
- プロジェクトの
Build.csにGaussianSplattingを追加します。 - ヘッダーをインクルードしてアセットを割り当てます。
cpp
#include "LiSplatActor.h"
SplatActor->SetSplatAsset(SplatAsset);
SplatActor->SetLightMode(ELightMode::Lit);モジュールの設定は API リファレンス を参照してください。