Skip to content

TextStudio3DStyleFingerprint

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DStyleFingerprint

Separates deterministic topology, material, and complete-content identity for a compiled style.

public readonly int TopologyHash

Returns

System.Int32

public readonly int MaterialHash

Returns

System.Int32

public readonly int ContentHash

Returns

System.Int32

TextStudio3DStyleFingerprint(int, int, int)

Section titled “TextStudio3DStyleFingerprint(int, int, int)”
public TextStudio3DStyleFingerprint(int topologyHash, int materialHash, int contentHash)

Creates an identity from independently computed topology, material, and complete-content hashes.

Parameters

Name Type
topologyHash System.Int32
materialHash System.Int32
contentHash System.Int32

public bool Equals(TextStudio3DStyleFingerprint other)

Parameters

Name Type
other TextStudio.ThreeD.TextStudio3DStyleFingerprint

Returns

System.Boolean

public override bool Equals(object obj)

Parameters

Name Type
obj System.Object

Returns

System.Boolean

public override int GetHashCode()

Returns

System.Int32

operator ==(TextStudio3DStyleFingerprint, TextStudio3DStyleFingerprint)

Section titled “operator ==(TextStudio3DStyleFingerprint, TextStudio3DStyleFingerprint)”
public static bool operator ==(TextStudio3DStyleFingerprint left, TextStudio3DStyleFingerprint right)

Determines whether two compiled styles have identical topology, material, and complete-content fingerprints.

Parameters

Name Type
left TextStudio.ThreeD.TextStudio3DStyleFingerprint
right TextStudio.ThreeD.TextStudio3DStyleFingerprint

Returns

System.Boolean

operator !=(TextStudio3DStyleFingerprint, TextStudio3DStyleFingerprint)

Section titled “operator !=(TextStudio3DStyleFingerprint, TextStudio3DStyleFingerprint)”
public static bool operator !=(TextStudio3DStyleFingerprint left, TextStudio3DStyleFingerprint right)

Determines whether the topology, material, or complete-content fingerprint differs between two compiled styles.

Parameters

Name Type
left TextStudio.ThreeD.TextStudio3DStyleFingerprint
right TextStudio.ThreeD.TextStudio3DStyleFingerprint

Returns

System.Boolean