Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SceneCameraSlotId Struct

    Namespace: Stride.Rendering.Compositing
    Assembly: Stride.Engine.dll

    Identifies a camera slotIndex in a scene composition.

    [DataContract("SceneCameraSlotId")]
    [DataStyle(DataStyle.Compact)]
    [DataSerializer(typeof(SceneCameraSlotId.SceneCameraSlotIdDataSerializer))]
    public struct SceneCameraSlotId : IEquatable<SceneCameraSlotId>
    Name Description
    Constructors
    SceneCameraSlotId(Guid)

    Initializes a new instance of the SceneCameraSlotId class.

    Fields
    Id

    The Guid matching a SceneCameraSlot.

    Properties
    IsEmpty

    Gets whether this SceneCameraSlotId is empty.

    Methods
    Equals(SceneCameraSlotId)
    Equals(Object)
    GetHashCode()
    ToString()
    Operators
    Equality(SceneCameraSlotId, SceneCameraSlotId)
    Inequality(SceneCameraSlotId, SceneCameraSlotId)
    | Improve this Doc View Source

    Constructors


    SceneCameraSlotId(Guid)

    Initializes a new instance of the SceneCameraSlotId class.

    public SceneCameraSlotId(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    The identifier.

    | Improve this Doc View Source

    Fields


    Id

    The Guid matching a SceneCameraSlot.

    public readonly Guid Id
    Field Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    Properties


    IsEmpty

    Gets whether this SceneCameraSlotId is empty.

    public readonly bool IsEmpty { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Methods


    Equals(SceneCameraSlotId)

    public bool Equals(SceneCameraSlotId other)
    Parameters
    Type Name Description
    SceneCameraSlotId other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()
    | Improve this Doc View Source

    Operators


    Equality(SceneCameraSlotId, SceneCameraSlotId)

    public static bool operator ==(SceneCameraSlotId left, SceneCameraSlotId right)
    Parameters
    Type Name Description
    SceneCameraSlotId left
    SceneCameraSlotId right
    Returns
    Type Description
    System.Boolean

    Inequality(SceneCameraSlotId, SceneCameraSlotId)

    public static bool operator !=(SceneCameraSlotId left, SceneCameraSlotId right)
    Parameters
    Type Name Description
    SceneCameraSlotId left
    SceneCameraSlotId right
    Returns
    Type Description
    System.Boolean

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation