TextStudio3DAttachmentSubscription
public sealed class TextStudio3DAttachmentSubscriptionReference-type attachment lease owned by one companion consumer.
Methods
Section titled “Methods”
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
| Name | Type |
|---|---|
snapshot |
TextStudio.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
| Name | Type |
|---|---|
request |
TextStudio.ThreeD.TextStudio3DAttachmentRequest |
Dispose()
Section titled “Dispose()”public void Dispose()Releases this consumer’s attachment lease and invalidates its published samples.
Properties
Section titled “Properties”
Revision
Section titled “Revision”public int Revision { get; }Returns
System.Int32
IsDisposed
Section titled “IsDisposed”public bool IsDisposed { get; }Returns
System.Boolean