Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.65 KB

File metadata and controls

38 lines (29 loc) · 1.65 KB

Timeline and Substance for Unity

This is the documentation index for Timeline functionality added to Substance for Unity.

Substance in Timeline

Tracks

All Timeline functionality for Substance for Unity is controlled by the SubstanceTrack. This track accepts a SubstanceGraphSO asset as a binding and can be used to drive input values and render the bound substance.

Clips

These classes handle interacting with substances via Timeline. You can add these clips to a SubstanceTrack by right clicking on an empty area on the track and selecting the desired clip.

Values

Clips that set input values on bound substances' associated SubstanceNativeGraph.

Clip Description
SetSubstanceInputColorAsset Sets a color input value.
SetSubstanceInputFloatAsset Sets a float input value.
SetSubstanceInputFloat2Asset Sets a float2 input value.
SetSubstanceInputFloat3Asset Sets a float3 input value.
SetSubstanceInputFloat4Asset Sets a float4 input value.
SetSubstanceInputIntAsset Sets an int input value.
SetSubstanceInputInt2Asset Sets an int2 input value.
SetSubstanceInputInt3Asset Sets an int3 input value.
SetSubstanceInputInt4Asset Sets an int4 input value.
SetSubstanceInputStringAsset Sets a string input value.
SetSubstanceInputTextureAsset Sets an image input value.

Rendering

Clips that handle rendering substances.

Clip Description
RenderSubstanceAsset Renders the track's bound substance.