Skip to main content

PegasusFlythrough

15 tools in this family (folder Editor/Tools/PegasusFlythrough/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
flythrough_add_audio_cuewritesSchedule an audio cue at path parameter 'at_t'. The clip is loaded from an Asset path.
flythrough_add_path_nodewritesAppend a control point to the flight path. Bezier paths use in/out tangents; if you omit them
flythrough_add_poiwritesAdd a Point-of-Interest to the flythrough. Either supply a 'target' Transform name (live link,
flythrough_add_postfx_overridewritesSchedule a post-fx override at path parameter 'at_t'. Either name a 'profile_name' registered
flythrough_add_triggerwritesSchedule a scene-side trigger at path parameter 'at_t'. Supported types:
flythrough_apply_presetwritesApply a built-in preset to a flythrough — fully replaces its path, curves, POIs and look-at mode.
flythrough_bake_to_animationwritesBake the flythrough to a fresh AnimationClip — transform.position / transform.rotation /
flythrough_create_flythroughwritesCreate a new cinematic camera flythrough and register it by id. The flythrough is bound to a
flythrough_export_setupread-onlyExport the whole Pegasus session — every flythrough's id, path nodes, POIs, curves, cues,
flythrough_playwritesStart playback of a flythrough. Choose 'loop_mode' — Once / Loop / PingPong — and optionally a
flythrough_remove_path_nodewritesRemove a control point from the flight path by zero-based index. Auto-smooths tangents
flythrough_set_fov_curvewritesReplace the field-of-view curve. {time, value} pairs where time is the path parameter (0..1)
flythrough_set_look_at_modewritesSet how the camera computes orientation each frame.
flythrough_set_speed_curvewritesReplace the speed multiplier curve. Pass a list of {time, value} pairs where time is the
flythrough_setup_timeline_trackwritesAdd a Unity Timeline FlythroughTrack to a TimelineAsset and create a FlythroughClip referencing