docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PolySpatialObjectUtils

    Inheritance
    object
    PolySpatialObjectUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.PolySpatial
    Assembly: Unity.PolySpatial.dll
    Syntax
    public static class PolySpatialObjectUtils

    Methods

    GetGameObjectForPolySpatialIdentifier(ulong)

    Return the GameObject corresponding to the given identifier, if any.

    Declaration
    public static GameObject GetGameObjectForPolySpatialIdentifier(ulong id)
    Parameters
    Type Name Description
    ulong id

    The PolySpatial identifier to get the GameObject for.

    Returns
    Type Description
    GameObject

    The GameObject, or null.

    GetPolySpatialIdentifier(GameObject)

    Return an identifier usable by PolySpatial backends to obtain platform-specific resources.

    Declaration
    public static ulong GetPolySpatialIdentifier(GameObject go)
    Parameters
    Type Name Description
    GameObject go
    Returns
    Type Description
    ulong

    The identifier for the object.

    MarkDirty(RenderTexture)

    Marks the specified render texture as changed so that it will be updated over PolySpatial.

    Declaration
    public static void MarkDirty(RenderTexture renderTexture)
    Parameters
    Type Name Description
    RenderTexture renderTexture

    The render texture to mark as changed.

    MarkDirty(Renderer)

    Marks the specified renderer as changed so that it will be updated over PolySpatial.

    Declaration
    public static void MarkDirty(Renderer renderer)
    Parameters
    Type Name Description
    Renderer renderer

    The renderer to mark as changed.

    In This Article
    Back to top
    Copyright © 2024 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)