Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ObjectNodeReference Struct

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll

    public struct ObjectNodeReference
    Name Description
    Constructors
    ObjectNodeReference(Int32)
    Fields
    Index
    Invalid

    Invalid slot.

    Methods
    Equals(Object)
    GetHashCode()
    Operators
    Addition(ObjectNodeReference, Int32)
    Equality(ObjectNodeReference, ObjectNodeReference)
    Inequality(ObjectNodeReference, ObjectNodeReference)
    Multiply(ObjectNodeReference, Int32)
    | Improve this Doc View Source

    Constructors


    ObjectNodeReference(Int32)

    public ObjectNodeReference(int index)
    Parameters
    Type Name Description
    System.Int32 index
    | Improve this Doc View Source

    Fields


    Index

    public readonly int Index
    Field Value
    Type Description
    System.Int32

    Invalid

    Invalid slot.

    public static readonly ObjectNodeReference Invalid
    Field Value
    Type Description
    ObjectNodeReference
    | Improve this Doc View Source

    Methods


    Equals(Object)

    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other
    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()
    | Improve this Doc View Source

    Operators


    Addition(ObjectNodeReference, Int32)

    public static ObjectNodeReference operator +(ObjectNodeReference value, int offset)
    Parameters
    Type Name Description
    ObjectNodeReference value
    System.Int32 offset
    Returns
    Type Description
    ObjectNodeReference

    Equality(ObjectNodeReference, ObjectNodeReference)

    public static bool operator ==(ObjectNodeReference a, ObjectNodeReference b)
    Parameters
    Type Name Description
    ObjectNodeReference a
    ObjectNodeReference b
    Returns
    Type Description
    System.Boolean

    Inequality(ObjectNodeReference, ObjectNodeReference)

    public static bool operator !=(ObjectNodeReference a, ObjectNodeReference b)
    Parameters
    Type Name Description
    ObjectNodeReference a
    ObjectNodeReference b
    Returns
    Type Description
    System.Boolean

    Multiply(ObjectNodeReference, Int32)

    public static ObjectNodeReference operator *(ObjectNodeReference value, int multiplyFactor)
    Parameters
    Type Name Description
    ObjectNodeReference value
    System.Int32 multiplyFactor
    Returns
    Type Description
    ObjectNodeReference

    Inherited Members

    System.ValueType.ToString()

    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