UxrCameraWallFade.IsAvatarPeekingThroughGeometry Method

Checks whether an avatar is currently peeking through geometry. The camera object requires to have an UxrCameraFade in order to work.

Namespace: UltimateXR.CameraUtils
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static bool IsAvatarPeekingThroughGeometry(
	UxrAvatar avatar
)

Parameters

 

avatar
Type: UltimateXR.Avatar.UxrAvatar
The avatar to check

Return Value

Type: Boolean
Whether the avatar has an UxrCameraFade component and it currently detects the avatar is peeking through geometry

See Also

Reference

UxrCameraWallFade Class
UltimateXR.CameraUtils Namespace