Package apple.cinematic
Class CNScript
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.cinematic.CNScript
-
- All Implemented Interfaces:
NSObject
public class CNScript extends NSObject
Database of focus decisions with methods to change them. Knows what has been detected in each frame and which detection is being focused on. All operations are executed in a thread-safe manner, but that also means that a long-running update can stall a lookup. Best practice is to lookup what you need up front (outside your critical code) and pass the immutable results to where it's needed. That way, you're not blocked when you access the information, say inside the rendering portion of your code. API-Since: 17.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCNScript.Block_loadFromAssetChangesProgressCompletionHandler-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCNScript(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()longaddDetectionTrack(@NotNull CNDetectionTrack detectionTrack)Add user created detection track.@NotNull NSArray<? extends CNDetectionTrack>addedDetectionTracks()All detection tracks that have been added since recording.booleanaddUserDecision(@NotNull CNDecision decision)Add a new user decision.static CNScriptalloc()static CNScriptallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@NotNull NSArray<? extends CNDecision>baseDecisionsInTimeRange(CMTimeRange timeRange)All base decisions made automatically during recording in the given time range.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)@NotNull CNScriptChangeschanges()Changes made since cinematic asset was recorded.@NotNull CNScriptChangeschangesTrimmedByTimeRange(CMTimeRange timeRange)Changes trimmed and time range shifted to start at zero — for use with a similarly trimmed cinematic asset.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()@Nullable CNDecisiondecisionAfterTime(CMTime time)The decision that occurs after the given time.@Nullable CNDecisiondecisionAtTimeTolerance(CMTime time, CMTime tolerance)The closest decision to the given time within the given tolerance.@Nullable CNDecisiondecisionBeforeTime(CMTime time)The decision that occurs before the given time.@NotNull NSArray<? extends CNDecision>decisionsInTimeRange(CMTimeRange timeRange)All decisions within the given time range.static java.lang.Stringdescription_static()@Nullable CNDetectionTrackdetectionTrackForDecision(@NotNull CNDecision decision)A detection track representing all detections that would be chosen by a given decision.@Nullable CNDetectionTrackdetectionTrackForID(long detectionID)A detection track representing all detections with the given detectionID over the entire cinematic script.floatfNumber()The f/number to apply to the entire movie, initially set to that of the recorded movie.@Nullable CNScriptFrameframeAtTimeTolerance(CMTime time, CMTime tolerance)The closest frame to the given time within the given tolerance.@NotNull NSArray<? extends CNScriptFrame>framesInTimeRange(CMTimeRange timeRange)All frames within the given time range.static longhash_static()CNScriptinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static voidloadFromAssetChangesProgressCompletionHandler(@NotNull AVAsset asset, @Nullable CNScriptChanges changes, @Nullable NSProgress progress, @NotNull CNScript.Block_loadFromAssetChangesProgressCompletionHandler completionHandler)Load cinematic script asynchronously from a cinematic asset.static CNScriptnew_objc()@Nullable CNDecisionprimaryDecisionAtTime(CMTime time)The primary decision that is in effect at the specified time, unless if it's outside the time range of the cinematic script.voidreloadWithChanges(@Nullable CNScriptChanges changes)Reload the cinematic script with optional changes applied, removing any previous changes made.voidremoveAllUserDecisions()Remove all user decisions and revert to base decisions only.booleanremoveDetectionTrack(@NotNull CNDetectionTrack detectionTrack)Remove user created detection track.booleanremoveUserDecision(@NotNull CNDecision decision)Remove an existing user decision.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable CNDecisionsecondaryDecisionAtTime(CMTime time)The secondary decision that is being transitioned towards if the given time is during a focus transition.voidsetFNumber(float value)The f/number to apply to the entire movie, initially set to that of the recorded movie.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()CMTimeRangetimeRange()The time range of the cinematic asset.CMTimeRangetimeRangeOfTransitionAfterDecision(@NotNull CNDecision decision)The time range during which the focus transition away from the given decision occurs.CMTimeRangetimeRangeOfTransitionBeforeDecision(@NotNull CNDecision decision)The time range during which the focus transition towards the given decision occurs.@NotNull NSArray<? extends CNDecision>userDecisionsInTimeRange(CMTimeRange timeRange)All user decisions in the given time range.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addDetectionTrack
public long addDetectionTrack(@NotNull @NotNull CNDetectionTrack detectionTrack)Add user created detection track. - Returns: the detectionID assigned to the added track, which can be used for later lookup or decision creation.
-
addUserDecision
public boolean addUserDecision(@NotNull @NotNull CNDecision decision)Add a new user decision. Replaces an existing user decision if the times are identical. Adding a decision can fail if the decision focuses on an detection or group that does not exist or if its time is not within the time range of the cinematic script. - Returns: whether adding was successful
-
addedDetectionTracks
@NotNull public @NotNull NSArray<? extends CNDetectionTrack> addedDetectionTracks()
All detection tracks that have been added since recording.
-
alloc
public static CNScript alloc()
-
allocWithZone
public static CNScript allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
baseDecisionsInTimeRange
@NotNull public @NotNull NSArray<? extends CNDecision> baseDecisionsInTimeRange(CMTimeRange timeRange)
All base decisions made automatically during recording in the given time range. These apply if no user decision overrides them.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
changes
@NotNull public @NotNull CNScriptChanges changes()
Changes made since cinematic asset was recorded. Can be used to checkpoint and later restore changes made so far.
-
changesTrimmedByTimeRange
@NotNull public @NotNull CNScriptChanges changesTrimmedByTimeRange(CMTimeRange timeRange)
Changes trimmed and time range shifted to start at zero — for use with a similarly trimmed cinematic asset.
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
decisionAfterTime
@Nullable public @Nullable CNDecision decisionAfterTime(CMTime time)
The decision that occurs after the given time. Pass the time of an existing decision to find the next one.
-
decisionAtTimeTolerance
@Nullable public @Nullable CNDecision decisionAtTimeTolerance(CMTime time, CMTime tolerance)
The closest decision to the given time within the given tolerance. Returns `nil` if there are none.
-
decisionBeforeTime
@Nullable public @Nullable CNDecision decisionBeforeTime(CMTime time)
The decision that occurs before the given time. Pass the time of an existing decisions to find the previous one.
-
decisionsInTimeRange
@NotNull public @NotNull NSArray<? extends CNDecision> decisionsInTimeRange(CMTimeRange timeRange)
All decisions within the given time range.
-
description_static
public static java.lang.String description_static()
-
detectionTrackForDecision
@Nullable public @Nullable CNDetectionTrack detectionTrackForDecision(@NotNull @NotNull CNDecision decision)
A detection track representing all detections that would be chosen by a given decision.
-
detectionTrackForID
@Nullable public @Nullable CNDetectionTrack detectionTrackForID(long detectionID)
A detection track representing all detections with the given detectionID over the entire cinematic script.
-
fNumber
public float fNumber()
The f/number to apply to the entire movie, initially set to that of the recorded movie. Pass this to the rendering session in the rendering frame attributes to match the selected aperture. Change this property when the user selects a different aperture for the edited movie. Changes to this property are reflected in the script changes for later restoration.
-
frameAtTimeTolerance
@Nullable public @Nullable CNScriptFrame frameAtTimeTolerance(CMTime time, CMTime tolerance)
The closest frame to the given time within the given tolerance. Returns `nil` if there are none.
-
framesInTimeRange
@NotNull public @NotNull NSArray<? extends CNScriptFrame> framesInTimeRange(CMTimeRange timeRange)
All frames within the given time range.
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
loadFromAssetChangesProgressCompletionHandler
public static void loadFromAssetChangesProgressCompletionHandler(@NotNull @NotNull AVAsset asset, @Nullable @Nullable CNScriptChanges changes, @Nullable @Nullable NSProgress progress, @NotNull @NotNull CNScript.Block_loadFromAssetChangesProgressCompletionHandler completionHandler)Load cinematic script asynchronously from a cinematic asset. - Parameters: - asset: the cinematic asset to be loaded. - changes: optional changes since asset was recorded. Can be obtained from a previous editing session. If `nil`, the asset is loaded as originally recorded. - progress: optional progress object to track progress or cancel loading. Represents just the loading of this asset. Create with desired total unit count or use zero to have the unit count filled in automatically. If `nil`, no progress is reported. - completionHandler: called with the loaded cinematic script when done, or with with an error if it fails. If progress is canceled before it completes, the completion handler is called with an error.
-
new_objc
public static CNScript new_objc()
-
primaryDecisionAtTime
@Nullable public @Nullable CNDecision primaryDecisionAtTime(CMTime time)
The primary decision that is in effect at the specified time, unless if it's outside the time range of the cinematic script. Also represents the decision that is being transitioned away from if the given time is during a focus transition.
-
reloadWithChanges
public void reloadWithChanges(@Nullable @Nullable CNScriptChanges changes)Reload the cinematic script with optional changes applied, removing any previous changes made. This can be more efficient than loading the asset from scratch. - Parameters: - changes: optional changes since asset was recorded. Can be obtained from a previous editing session. If `nil`, the asset is reloaded as originally recorded.
-
removeAllUserDecisions
public void removeAllUserDecisions()
Remove all user decisions and revert to base decisions only.
-
removeDetectionTrack
public boolean removeDetectionTrack(@NotNull @NotNull CNDetectionTrack detectionTrack)Remove user created detection track. Tracks created at recording time cannot be removed. - Returns: whether removal was successful
-
removeUserDecision
public boolean removeUserDecision(@NotNull @NotNull CNDecision decision)Remove an existing user decision. User decisions added to the script or those made at recording time (by tapping during recording) can be removed. Decisions that are not user decisions cannot be removed. - Returns: whether removal was successful
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
secondaryDecisionAtTime
@Nullable public @Nullable CNDecision secondaryDecisionAtTime(CMTime time)
The secondary decision that is being transitioned towards if the given time is during a focus transition.
-
setFNumber
public void setFNumber(float value)
The f/number to apply to the entire movie, initially set to that of the recorded movie. Pass this to the rendering session in the rendering frame attributes to match the selected aperture. Change this property when the user selects a different aperture for the edited movie. Changes to this property are reflected in the script changes for later restoration.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
timeRange
public CMTimeRange timeRange()
The time range of the cinematic asset. All frames, decisions, and detections are within this time range.
-
timeRangeOfTransitionAfterDecision
public CMTimeRange timeRangeOfTransitionAfterDecision(@NotNull @NotNull CNDecision decision)
The time range during which the focus transition away from the given decision occurs.
-
timeRangeOfTransitionBeforeDecision
public CMTimeRange timeRangeOfTransitionBeforeDecision(@NotNull @NotNull CNDecision decision)
The time range during which the focus transition towards the given decision occurs.
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
userDecisionsInTimeRange
@NotNull public @NotNull NSArray<? extends CNDecision> userDecisionsInTimeRange(CMTimeRange timeRange)
All user decisions in the given time range. Includes user decisions made during recording or added to the script.
-
version_static
public static long version_static()
-
-