StripGroup

A strip group is where the Strip are stored. For each strip group, you will be creating a specific type have to be specified. Once specified all Strip added to the group behaviors will be derived from this type.

As an example, of a strip group is created with the type kDirector (which deals with Camera) all Strip added to the group will be of that type and allow you to change Camera during the Sequence.

See Also

Static Variables


Name Description
folder Parent StripFolder where the StripGroup is maintained.
strip_count Total amount of Strip contained in the active StripGroup.
data Access the StripGroupData properties for the active StripGroupType.
playback_time Internal playback time of the active StripGroup.
playback_loop Number of times the StripGroup have been looped.
uid Unique id to identify the StripGroup globally.

Variables


Name Description
extrapolation Control the StripGroup Extrapolation method when the last Strip of the group finished playing.
name Unique name to identify the StripGroup inside its parent StripFolder.
color A color to visually identify the Strip contained in the active StripGroup inside the Sequence Editor.
mute Mute the active StripGroup playback.
locked Set the StripGroup as read-only inside the Sequence Editor prohibiting any changes to made on the Strip it contains.
flags Bit mask of current options applied on the StripGroup.

Functions


Name Description
AddStrip Add a new Strip to the active StripGroup.
GetScene Helper function that retrieve the underlying Scene Asset where the StripGroup belongs to.
GetAnimation Helper to retrieve the Animation reference where the active StripGroup is maintained.
GetStrip Retrieve the reference of an existing Strip using its name as key.
GetStripAt Retrive a specific Strip reference using its index as key.
GetStripIndex Helper to retrieve the index of a Strip maintained by the active StripGroup.
SetStripIndex Manually change the internal index of an existing Strip maintained by the active StripGroup.
RemoveStrip Remove a Strip reference from the current StripGroup.
AddStripSection Remove a Strip from the active StripGroup by index.
IsSelected Helper function that return is all Strip in the active StripGroup are selected.
IsRangeSelected Helper that return how many Strip range are selected.
Sort Sort all the Strip contained in the current StripGroup chronologically.
CanTransform Function that check if the current StripGroup selection can be transformed.
ShiftSelection Function to shift the current StripGroup selection.
TransformSelection Function to transform the active StripGroup selection.
AutoBlendSelection Function that calculate the appropriate blending in/out for the current StripGroup Strip selection.

StripGroupData


Access the properties available for the StripGroupType the active StripGroup was created with.

Static Variables


Name Description
type The active StripGroup StripGroupType.
director Access the StripGroupDirector properties; available only for a StripGroup of the type kDirector.
audio Access the StripGroupAudio properties; available only for a StripGroup of the type kAudio.
activity Access the StripGroupActivity properties; available only for a StripGroup of the type kActivity.
conversation Access the StripGroupConversation properties; available for a StripGroup of the type kConversation.
subsequence Access the StripGroupSubSequence properties; available for a StripGroup of the type kSubSequence.

StripGroupDirector


Control the properties and settings of a kDirector StripGroup.

Static Variables


Name Description
virtual_camera Reference to the virtual Object created to handle Camera switch (if any).

Variables


Name Description
renderlayer Unique id to the RenderLayer the Camera should be placed on.
main_camera Unique id of the fallback Camera the active StripGroup should return to when the playback time is outside of the group range.
main_listener Specify wheter or not the fallback Camera should be set as Listener.

StripGroupAudio


Control the properties and settings of a kAudio StripGroup.

Variables


Name Description
pan Control the pan direction of the sound.
soundgroup Unique id of SoundGroup where the virtual SoundSource should be placed on.

StripGroupActivity


Control the properties and settings of a kActivity StripGroup.

Variables


Name Description
object Unique id of the Object the StripGroup control its Animation.
blend_mode The BlendMode to use for the active StripGroup when blending Action.

StripGroupConversation


Control the properties and settings of a kText StripGroup.

Variables


Name Description
text Unique id of the Text Object the StripGroup should control.

StripGroupSubSequence


Control the properties and settings of a kSubSequence StripGroup.

Variables


Name Description
subsequence Unique id of Object to access the sub Sequence.

Extrapolation


Available types of extrapolation to use when the playback time of a StripGroup extend its current range.

  • kDoNothing: Stop updating the StripGroup.
  • kHoldForward: Continue to increase the StripGroup playback time.
  • kReplay: Reset the active StripGroup playback time to zero and replay it.
  • kPingPong: Replay the StripGroup mirrored.

BlendMode


Available when the StripGroup type is set to kActivity. The blending mode will determine how the Action connected with a Strip will be blended with the current existing values.

  • kMix: Interpolate between the current and active value updated by the Strip.
  • kOverwrite: Overwrite the current value with the active value updated by the Strip.

PlacementMode


Available for StripGroup of the type kCreator; the constant listed below specify how to handle the placement of the Entity connect to the Strip.

  • kTransform: Use the actual world transformation matrix to place the entity.
  • kPivot: Only copy the location of the target transformation.
  • kAttach: Connect the Object to the target Object / Bone creating a parent/child relationship.
  • kDistribute: Only available when the target Object is of the type Route or Region. If the target object type is a Route, the Entity will be randomly distributed along the Route path. In the case of a Region, the system will use the current shape parameter to randomly place within the shape bounds (volumetric) the Entity.

StripGroupType


List of all available StripGroup type.

  • kDirector: Controls which Camera should be used during the sequence playback.
  • kAudio: Allows you to create virtual SoundSource to play SoundBuffer either in 2D or 3D, control pan, volume, and AudioEffect.
  • kActivity: Controls the Action of a specific Animation. This is the type of strip group to used to animate characters, Object.
  • kTrigger: Run a Script, a function or custom command either at a specific point in the Sequence time or continuously.
  • kConversation: Provides an easy way to create subtitles or to update the string of Text object(s) either statically or progressively during the Sequence playback.
  • kSubSequence: Embed an existing Sequence within the active Sequence. Take note that this type of strip cannot be resized since they are strictly based on the time of the external Sequence.
  • kCreator: Create and destroy Entity Asset during the Sequence playback. This is the type of StripGroup to use if your Sequence requires dynamic Object created during the Sequence runtime.




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA