logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct TransformId

    Stable identifier for transform targets in the procedural animation system. Engine-agnostic: does NOT contain Transform references. Immutable value object that supports equality comparison and hashing. Analogous to MaterialId for material targets.

    Implements
    IEquatable<TransformId>
    Inherited Members
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.ProceduralExpression.Domain.ValueObjects
    Assembly: Serenity.ProceduralExpression.Domain.dll
    Syntax
    public readonly struct TransformId : IEquatable<TransformId>

    Constructors

    TransformId(string)

    Creates a new TransformId with the specified identifier.

    Declaration
    public TransformId(string value)
    Parameters
    Type Name Description
    string value

    The unique string identifier for the transform target. Cannot be null.

    Fields

    Value

    The unique string identifier for this transform target.

    Declaration
    public readonly string Value
    Field Value
    Type Description
    string

    Properties

    IsValid

    Checks if this TransformId has a valid, non-empty value.

    Declaration
    public bool IsValid { get; }
    Property Value
    Type Description
    bool

    Methods

    Equals(TransformId)

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

    Equals(object)

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

    GetHashCode()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    operator ==(TransformId, TransformId)

    Declaration
    public static bool operator ==(TransformId left, TransformId right)
    Parameters
    Type Name Description
    TransformId left
    TransformId right
    Returns
    Type Description
    bool

    explicit operator TransformId(string)

    Declaration
    public static explicit operator TransformId(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    TransformId

    implicit operator string(TransformId)

    Declaration
    public static implicit operator string(TransformId id)
    Parameters
    Type Name Description
    TransformId id
    Returns
    Type Description
    string

    operator !=(TransformId, TransformId)

    Declaration
    public static bool operator !=(TransformId left, TransformId right)
    Parameters
    Type Name Description
    TransformId left
    TransformId right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    In this article
    © 2026 Serenity. All Rights Reserved