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

    Struct Slate

    Represents a slate. A slate stores information about the shot.

    Namespace: Unity.LiveCapture
    Syntax
    [Serializable]
    public struct Slate : IEquatable<Slate>

    Properties

    Description

    The description of the shot stored in the slate.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    String

    SceneNumber

    The number associated with the scene to record.

    Declaration
    public int SceneNumber { get; set; }
    Property Value
    Type Description
    Int32

    ShotName

    The name of the shot stored in the slate.

    Declaration
    public string ShotName { get; set; }
    Property Value
    Type Description
    String
    Remarks

    The recorded takes automatically inherit from this name.

    TakeNumber

    The number associated with the take to record.

    Declaration
    public int TakeNumber { get; set; }
    Property Value
    Type Description
    Int32
    Remarks

    The number increments after recording a take.

    Methods

    Equals(Object)

    Determines whether the specified object is equal to the current Slate.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current Slate.

    Returns
    Type Description
    Boolean

    true if the specified object is equal to the current Slate; otherwise, false.

    Overrides
    ValueType.Equals(Object)

    Equals(Slate)

    Declaration
    public bool Equals(Slate other)
    Parameters
    Type Name Description
    Slate other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Gets the hash code for the Slate.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    The hash value generated for this Slate.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A string that represents the current object.

    Overrides
    ValueType.ToString()

    Operators

    Equality(Slate, Slate)

    Determines whether the two specified Slates are equal.

    Declaration
    public static bool operator ==(Slate a, Slate b)
    Parameters
    Type Name Description
    Slate a

    The first Slate.

    Slate b

    The second Slate.

    Returns
    Type Description
    Boolean

    true if the specified Slates are equal; otherwise, false.

    Inequality(Slate, Slate)

    Determines whether the two specified Slates are different.

    Declaration
    public static bool operator !=(Slate a, Slate b)
    Parameters
    Type Name Description
    Slate a

    The first Slate.

    Slate b

    The second Slate.

    Returns
    Type Description
    Boolean

    true if the specified Slates are different; otherwise, false.

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