docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrFoveationLevelProfileCreateInfoFB

    Extends XrFoveationProfileCreateInfoFB to request a foveation profile that applies a fixed foveation pattern at a chosen level. Provided by XR_FB_foveation_configuration.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.OpenXR.NativeTypes
    Assembly: Unity.XR.OpenXR.dll
    Syntax
    public readonly struct XrFoveationLevelProfileCreateInfoFB
    Remarks
    Warning

    Don't initialize this struct with the default parameterless constructor. Use either defaultValue or a constructor with parameters to ensure that type is correctly initialized to FoveationLevelProfileCreateInfoFB.

    Constructors

    XrFoveationLevelProfileCreateInfoFB(void*, XrFoveationLevelFB, float, XrFoveationDynamicFB)

    Construct an instance.

    Declaration
    public XrFoveationLevelProfileCreateInfoFB(void* next, XrFoveationLevelFB level, float verticalOffset, XrFoveationDynamicFB dynamic)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    XrFoveationLevelFB level

    The maximum desired foveation level.

    float verticalOffset

    The vertical offset of the foveation pattern, in degrees.

    XrFoveationDynamicFB dynamic

    Whether the runtime may vary the applied foveation level.

    XrFoveationLevelProfileCreateInfoFB(XrFoveationLevelFB, float, XrFoveationDynamicFB)

    Construct an instance with a null next pointer.

    Declaration
    public XrFoveationLevelProfileCreateInfoFB(XrFoveationLevelFB level, float verticalOffset, XrFoveationDynamicFB dynamic)
    Parameters
    Type Name Description
    XrFoveationLevelFB level

    The maximum desired foveation level.

    float verticalOffset

    The vertical offset of the foveation pattern, in degrees.

    XrFoveationDynamicFB dynamic

    Whether the runtime may vary the applied foveation level.

    Properties

    defaultValue

    Get a default instance with an initialized type property.

    Declaration
    public static XrFoveationLevelProfileCreateInfoFB defaultValue { get; }
    Property Value
    Type Description
    XrFoveationLevelProfileCreateInfoFB

    dynamic

    Whether the runtime may vary the applied foveation level up to level.

    Declaration
    public XrFoveationDynamicFB dynamic { get; }
    Property Value
    Type Description
    XrFoveationDynamicFB

    level

    The maximum desired foveation level.

    Declaration
    public XrFoveationLevelFB level { get; }
    Property Value
    Type Description
    XrFoveationLevelFB

    next

    null or a pointer to the next structure in a structure chain.

    Declaration
    public void* next { get; }
    Property Value
    Type Description
    void*

    type

    The XrStructureType of this struct: FoveationLevelProfileCreateInfoFB.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType

    verticalOffset

    The vertical offset of the foveation pattern, in degrees.

    Declaration
    public float verticalOffset { get; }
    Property Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)