Search Results for

    Show / Hide Table of Contents

    Class SoftObjectReference

    The scripting object soft reference. Objects gets referenced on use (ID reference is resolving it).

    Inheritance
    System.Object
    SoftObjectReference
    Implements
    System.IComparable
    System.IComparable<SoftObjectReference>
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public sealed class SoftObjectReference : ValueType, IComparable, IComparable<SoftObjectReference>

    Properties

    ID

    Gets or sets the object identifier.

    Declaration
    public Guid ID { get; set; }
    Property Value
    System.Guid

    Methods

    CompareTo(SoftObjectReference)

    Declaration
    public int CompareTo(SoftObjectReference other)
    Parameters
    SoftObjectReference other

    Returns
    System.Int32

    CompareTo(Object)

    Declaration
    public int CompareTo(object obj)
    Parameters
    System.Object obj

    Returns
    System.Int32

    Get<T>()

    Gets the object reference.

    Declaration
    public T Get<T>()
        where T : Object
    Returns
    T

    The resolved object or null.

    Type Parameters
    T

    The object type.

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    System.Int32

    Set(Object)

    Sets the object reference.

    Declaration
    public void Set(Object obj)
    Parameters
    Object obj

    The object.

    ToString()

    Declaration
    public override string ToString()
    Returns
    System.String

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    • Properties
      • ID
    • Methods
      • CompareTo(SoftObjectReference)
      • CompareTo(Object)
      • Get<T>()
      • GetHashCode()
      • Set(Object)
      • ToString()
    • Extension Methods
    Back to top Copyright © 2012-2024 Wojciech Figat