Skip to main content
Version: 12 Dec 2024

MagicLeapLightEstimationTypes.cs

Source code

using UnityEngine;

namespace MagicLeap.OpenXR.Features.LightEstimation
{
public enum HDRCubemapFaceResolution
{
Resolution_64x64,
Resolution_128x128,
Resolution_256x256
}

public struct HDRCubemapData
{
public float[] Pixels;

public uint FaceDimension;
}

public struct MainDirectionalLight
{
public Vector3 Direction;

public Color Color;
}

public struct EstimateData
{
public HDRCubemapData CubeMap;

public MainDirectionalLight DirectionalLight;

public long TimeStampNanoSeconds;
}
}