docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XrSpatialEntityFromIdCreateInfoEXT

    Creation info for a spatial entity handle from the entity's ID, used by xrCreateSpatialEntityFromIdEXT(ulong, in XrSpatialEntityFromIdCreateInfoEXT, out ulong). Provided by XR_EXT_spatial_entity.

    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 XrSpatialEntityFromIdCreateInfoEXT
    Remarks
    Warning

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

    Constructors

    XrSpatialEntityFromIdCreateInfoEXT(ulong)

    Construct an instance with a null next pointer.

    Declaration
    public XrSpatialEntityFromIdCreateInfoEXT(ulong entityId)
    Parameters
    Type Name Description
    ulong entityId

    The entity ID.

    XrSpatialEntityFromIdCreateInfoEXT(void*, ulong)

    Construct an instance.

    Declaration
    public XrSpatialEntityFromIdCreateInfoEXT(void* next, ulong entityId)
    Parameters
    Type Name Description
    void* next

    The next pointer.

    ulong entityId

    The entity ID.

    Properties

    entityId

    The ID of the entity for which to create a handle.

    Declaration
    public ulong entityId { get; }
    Property Value
    Type Description
    ulong

    next

    null or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or EXT_spatial_entity.

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

    type

    The XrStructureType of this struct: SpatialEntityFromIdCreateInfoEXT.

    Declaration
    public XrStructureType type { get; }
    Property Value
    Type Description
    XrStructureType
    In This Article
    Back to top
    Copyright © 2025 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)