Skip to content

TextStudio3DAttachmentSubscription

ClassTextStudio.ThreeDTextStudio.3D
public sealed class TextStudio3DAttachmentSubscription

Reference-type attachment lease owned by one companion consumer.

TryGetSnapshot(out TextStudio3DAttachmentSnapshot)

Section titled “TryGetSnapshot(out TextStudio3DAttachmentSnapshot)”
public bool TryGetSnapshot(out TextStudio3DAttachmentSnapshot snapshot)

Returns the latest published snapshot while this subscription is active and has a prepared revision.

Parameters

NameType
snapshotTextStudio.ThreeD.TextStudio3DAttachmentSnapshot

Returns

System.Boolean

UpdateRequest(in TextStudio3DAttachmentRequest)

Section titled “UpdateRequest(in TextStudio3DAttachmentRequest)”
public void UpdateRequest(in TextStudio3DAttachmentRequest request)

Updates this consumer’s attachment demand and notifies the host when it changes.

Parameters

NameType
requestTextStudio.ThreeD.TextStudio3DAttachmentRequest
public void Dispose()

Releases this consumer’s attachment lease and invalidates its published samples.

public int Revision { get; }

Returns

System.Int32

public bool IsDisposed { get; }

Returns

System.Boolean