docs.unity3d.com
    目次を表示する/隠す

    Class XRCpuImageFormatExtensions

    Extensions to the XRCpuImage.Format enum.

    Inheritance
    Object
    XRCpuImageFormatExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public static class XRCpuImageFormatExtensions

    Methods

    AsTextureFormat(XRCpuImage.Format)

    Attempts to convert an XRCpuImage.Format to a UnityEngine.TextureFormat.

    Declaration
    public static TextureFormat AsTextureFormat(this XRCpuImage.Format this)
    Parameters
    Type Name Description
    XRCpuImage.Format this

    The XRCpuImage.Format being extended.

    Returns
    Type Description
    TextureFormat

    Returns a TextureFormat that matches this if possible. Returns 0 if there is no matching TextureFormat.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)