Class UnifiedRayTracingException
Exception type that can be thrown in case of failure in UnifiedRayTracing calls.
Implements
Inherited Members
Namespace: UnityEngine.Rendering.UnifiedRayTracing
Assembly: Unity.UnifiedRayTracing.Runtime.dll
Syntax
public class UnifiedRayTracingException : Exception, ISerializable
Constructors
UnifiedRayTracingException(string, UnifiedRayTracingError)
Initializes a new instance of UnifiedRayTracingException
Declaration
public UnifiedRayTracingException(string message, UnifiedRayTracingError errorCode)
Parameters
Type | Name | Description |
---|---|---|
string | message | Message describing the error. |
UnifiedRayTracingError | errorCode | The error code. |
Properties
errorCode
Gets the UnifiedRayTracingError code associated with the exception.
Declaration
public UnifiedRayTracingError errorCode { get; }
Property Value
Type | Description |
---|---|
UnifiedRayTracingError |