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

    Struct Image2D

    Namespace: Unity.Tiny
    Syntax
    public struct Image2D : IComponentData

    Fields

    flags

    Texture sampling flags

    Declaration
    public TextureFlags flags
    Field Value
    Type Description
    TextureFlags

    imagePixelHeight

    Image size in pixels. Set only after loading (status must be ImageStatus::Loaded). This is written to by the image loading system and should be treated as read only by user code.

    Declaration
    public int imagePixelHeight
    Field Value
    Type Description
    Int32

    imagePixelWidth

    Image size in pixels. Set only after loading (status must be ImageStatus::Loaded). This is written to by the image loading system and should be treated as read only by user code.

    Declaration
    public int imagePixelWidth
    Field Value
    Type Description
    Int32

    status

    Load status of the image. This is written to by the image loading system and should be treated as read only by user code.

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