class LightshipOcclusionExtension
(Niantic.Lightship.AR.Occlusion.LightshipOcclusionExtension)
概要
このコンポーネントを使用すると、LightshipのXROcclusionSubsystem 実装で使用可能な追加機能を設定できます。
class LightshipOcclusionExtension:MonoBehaviour {
public:
enumOptimalOcclusionDistanceMode;
// fields
static const string DefaultShaderName = "Lightship/OcclusionExtension";
// properties
uint TargetFrameRate;
bool Visualization;
bool PreferSmoothEdges;
Matrix4x4?LatestIntrinsicsMatrix;
OptimalOcclusionDistanceMode Mode;
bool IsOcclusionSuppressionEnabled;
bool IsOcclusionStabilizationEnabled;
float StabilizationThreshold;
bool IsRenderingActive;
bool BypassOcclusionManagerUpdates;
Texture2D?DepthTexture;
Matrix4x4 DepthTransform;
bool UseCustomBackgroundMaterial;
Material CustomBackgroundMaterial;
Material?BackgroundMaterial;
// methods
bool AddSemanticSuppressionChannel(string channelName);
void RemoveSemanticSuppressionChannel(string channelName);
bool TryGetDepth(int screenX, int screenY, out float depth);
void TrackOccludee(Renderer occludee);
};
詳細資料
このコンポーネントを使用すると、LightshipのXROcclusionSubsystem 実装で使用可能な追加機能を設定できます。
Fields
DefaultShaderName
static const string DefaultShaderName = "Lightship/OcclusionExtension"