Package dev.turboism.sdk.cubism.event
Class DeformerLockEvent.Before
java.lang.Object
dev.turboism.sdk.cubism.event.DeformerLockEvent.Before
- All Implemented Interfaces:
DeformerLockEvent,EventBus.TurboismEvent,TurboismEvent
- Enclosing interface:
- DeformerLockEvent
Synchronous state published before the host lock-state write.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne Runtime-owned mutable callback scope.Nested classes/interfaces inherited from interface dev.turboism.sdk.cubism.event.DeformerLockEvent
DeformerLockEvent.After, DeformerLockEvent.Before, DeformerLockEvent.On -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeformer()Returns the detached Deformer projection participating in the operation.booleanlocked()Returns the candidate lock-state value that will be applied.openCallback(Deformer deformer, boolean requestedLocked, boolean locked) Opens a callback-scoped mutable candidate for the intercepted lock-state edit.booleanReturns the lock-state value originally requested by the write call.voidsetLocked(boolean locked) Replaces the candidate lock-state value for the current callback.
-
Constructor Details
-
Before
-
-
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
Description copied from interface:DeformerLockEventReturns the detached Deformer projection participating in the operation.- Specified by:
deformerin interfaceDeformerLockEvent
-
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.
-