Class DeformerLockEvent.Before

java.lang.Object
dev.turboism.sdk.cubism.event.DeformerLockEvent.Before
All Implemented Interfaces:
DeformerLockEvent, EventBus.TurboismEvent, TurboismEvent
Enclosing interface:
DeformerLockEvent

public static final class DeformerLockEvent.Before extends Object implements DeformerLockEvent
Synchronous state published before the host lock-state write.
  • Constructor Details

    • Before

      public Before(Deformer deformer, boolean requestedLocked, boolean locked)
  • Method Details

    • openCallback

      public static DeformerLockEvent.Before.Callback openCallback(Deformer deformer, boolean requestedLocked, boolean locked)
      Opens a callback-scoped mutable candidate for the intercepted lock-state edit.
    • deformer

      public Deformer deformer()
      Description copied from interface: DeformerLockEvent
      Returns the detached Deformer projection participating in the operation.
      Specified by:
      deformer in interface DeformerLockEvent
    • requestedLocked

      public boolean requestedLocked()
      Returns the lock-state value originally requested by the write call.
    • locked

      public boolean locked()
      Returns the candidate lock-state value that will be applied.
    • setLocked

      public void setLocked(boolean locked)
      Replaces the candidate lock-state value for the current callback.