reload(changes:)
Reloads the Cinematic script with optional changes applied, removing any previous changes made.
Declaration
final func reload(changes: CNScript.Changes?)Parameters
- changes:
Optional changes since recording the asset.
Discussion
Reloading the Cinematic script can be more efficient than loading the asset from scratch.
You can obtain the applied changes from a previous editing session. The system reloads the asset as originally recoded if the changes value is nil.