Class XRCameraSubsystem
Inheritance
XRCameraSubsystem
Assembly: UnityEngine.dll
Syntax
public class XRCameraSubsystem : IntegratedSubsystem<XRCameraSubsystemDescriptor>, ISubsystem
Properties
Camera
Declaration
public Camera Camera { get; set; }
Property Value
LastUpdatedFrame
Declaration
public int LastUpdatedFrame { get; }
Property Value
LightEstimationRequested
Declaration
public bool LightEstimationRequested { get; set; }
Property Value
Material
Declaration
public Material Material { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetTextures(List<Texture2D>)
Declaration
public void GetTextures(List<Texture2D> texturesOut)
Parameters
TryGetAverageBrightness(ref Single)
Declaration
public bool TryGetAverageBrightness(ref float averageBrightness)
Parameters
Type |
Name |
Description |
Single |
averageBrightness |
|
Returns
TryGetAverageColorTemperature(ref Single)
Declaration
public bool TryGetAverageColorTemperature(ref float averageColorTemperature)
Parameters
Type |
Name |
Description |
Single |
averageColorTemperature |
|
Returns
TryGetDisplayMatrix(ref Matrix4x4)
Declaration
public bool TryGetDisplayMatrix(ref Matrix4x4 displayMatrix)
Parameters
Type |
Name |
Description |
Matrix4x4 |
displayMatrix |
|
Returns
TryGetProjectionMatrix(ref Matrix4x4)
Declaration
public bool TryGetProjectionMatrix(ref Matrix4x4 projectionMatrix)
Parameters
Type |
Name |
Description |
Matrix4x4 |
projectionMatrix |
|
Returns
|
Improve this Doc
View Source
TryGetShaderName(ref String)
Declaration
public bool TryGetShaderName(ref string shaderName)
Parameters
Type |
Name |
Description |
String |
shaderName |
|
Returns
TryGetTimestamp(ref Int64)
Declaration
public bool TryGetTimestamp(ref long timestampNs)
Parameters
Type |
Name |
Description |
Int64 |
timestampNs |
|
Returns
Events
|
Improve this Doc
View Source
FrameReceived
Declaration
public event Action<FrameReceivedEventArgs> FrameReceived
Event Type
Implements
Extension Methods