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

    Class StreamingImageSequenceRenderer

    A component that stores the output of StreamingImageSequence

    Inheritance
    Object
    StreamingImageSequenceRenderer
    Namespace: Unity.StreamingImageSequence
    Syntax
    public sealed class StreamingImageSequenceRenderer : MonoBehaviour

    Methods

    GetMaterialIndexToUpdate()

    Get the index of the material to be updated by StreamingImageSequence

    Declaration
    public int GetMaterialIndexToUpdate()
    Returns
    Type Description
    Int32

    GetTargetTexture()

    Get the target render texture

    Declaration
    public RenderTexture GetTargetTexture()
    Returns
    Type Description
    RenderTexture

    The target RenderTexture

    SetMaterialIndexToUpdate(Int32)

    Set the index of the material to be updated by StreamingImageSequence. No material will be updated if index is less than 0. Only used if the gameObject has MeshRenderer or SkinnedMeshRenderer

    Declaration
    public void SetMaterialIndexToUpdate(int index)
    Parameters
    Type Name Description
    Int32 index

    SetTargetTexture(RenderTexture)

    Sets StreamingImageSequence to copy its internal texture into a target RenderTexture.

    Declaration
    public void SetTargetTexture(RenderTexture tex)
    Parameters
    Type Name Description
    RenderTexture tex

    the target RenderTexture for copying

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