class LightshipOcclusionExtension
(Niantic.Lightship.AR.Occlusion.LightshipOcclusionExtension)
概要
このコン ポーネントを使用すると、LightshipのXROcclusionSubsystem 実装で使用可能な追加機能を設定できます。
class LightshipOcclusionExtension:MonoBehaviour {
public:
enumOptimalOcclusionDistanceMode;
// fields
static const string occlusionExtensionShaderName = k_LightshipOcclusionExtensionShaderName;
// properties
uint TargetFrameRate;
Matrix4x4?LatestIntrinsicsMatrix;
OptimalOcclusionDistanceMode Mode;
bool IsOcclusionSuppressionEnabled;
bool IsOcclusionStabilizationEnabled;
float StabilizationThreshold;
bool UseCustomBackgroundMaterial;
Material CustomBackgroundMaterial;
bool IsRenderingActive;
bool Visualization;
Material BackgroundMaterial;
// methods
bool AddSemanticSuppressionChannel(string channelName);
void RemoveSemanticSuppressionChannel(string channelName);
void TrackOccludee(Renderer occludee);
};
詳細資料
このコンポーネントを使用すると、LightshipのXROcclusionSubsystem 実装で使用可能な追加機能を設定できます。
Fields
occlusionExtensionShaderName
static const string occlusionExtensionShaderName = k_LightshipOcclusionExtensionShaderName
デフォルトの Lightship Occlusion Extension シェーダーの名前。
Properties
TargetFrameRate
uint TargetFrameRate
深度推論を実行するフレームレートを取得または設定します。
LatestIntrinsicsMatrix
Matrix4x4? LatestIntrinsicsMatrix