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.
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
Properties
IsValid
Checks if this TransformId has a valid, non-empty value.
Declaration
public bool IsValid { get; }
Property Value
Methods
Equals(TransformId)
Declaration
public bool Equals(TransformId other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(TransformId, TransformId)
Declaration
public static bool operator ==(TransformId left, TransformId right)
Parameters
Returns
explicit operator TransformId(string)
Declaration
public static explicit operator TransformId(string value)
Parameters
| Type |
Name |
Description |
| string |
value |
|
Returns
implicit operator string(TransformId)
Declaration
public static implicit operator string(TransformId id)
Parameters
Returns
operator !=(TransformId, TransformId)
Declaration
public static bool operator !=(TransformId left, TransformId right)
Parameters
Returns
Implements