IntegrationContext
Create a new Integration context.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.LightTransport
- Assembly: UnityEditor.CoreModule
IntegrationContext()
Create a new Integration context.
public IntegrationContext()
Remarks
Constructs a new IntegrationContext object. The parameterless constructor creates a new context with default initialization, while the IntPtr constructor is used internally by the light transport system to wrap native context objects.
Usage Notes:
- Most user code will not need to create IntegrationContext objects directly.
- Contexts are typically managed by IWorld implementations.
- Manual context creation is only needed for advanced integration scenarios.
IntegrationContext(IntPtr)
Create a new Integration context.
public IntegrationContext(nint ptr)
Parameters
Remarks
Constructs a new IntegrationContext object. The parameterless constructor creates a new context with default initialization, while the IntPtr constructor is used internally by the light transport system to wrap native context objects.
Usage Notes:
- Most user code will not need to create IntegrationContext objects directly.
- Contexts are typically managed by IWorld implementations.
- Manual context creation is only needed for advanced integration scenarios.