Cavalry
  • Welcome
  • Getting Started
    • Requirements
    • Installation
    • Sign In
      • Proxy Server
    • Quick Start
    • Example Files
    • Key Concepts
      • Nodes
      • Connections
      • Context
  • User Interface
    • Menus
      • File menu
      • Edit menu
      • View menu
      • Composition menu
      • Create menu
      • Animation menu
      • Shape menu
      • Tool menu
        • Select tool
        • Edit Shape tool
        • Pen tool
        • Pencil tool
        • Line tool
        • Text tool
        • Rectangle tool
        • Ellipse tool
        • Polygon tool
        • Star tool
        • Arc tool
        • Super Ellipse tool
        • Cog tool
        • Arrow tool
        • Capsule tool
      • Window menu
        • Align Window
        • Animation Utilities
        • Assets Window
          • Google Sheets Asset
          • Image Sequences
          • Project Settings
        • Attribute Editor
          • Control Rows
            • Controls Rows - Types
            • Control Rows - Interaction
        • Color window
          • Palettes
        • Control Center
        • Quick Add window
        • Flow Graph
        • Glyph Browser
        • Playback Controls
        • Preferences
        • Render Manager
          • Lottie Export
          • Dynamic Rendering
          • Render Tokens
        • Scene Window
          • Scene Tree
            • Composition Settings
          • Time Editor
          • Graph Editor
          • Keyframe Layers
        • Shelf
        • Tags
        • Toolbar
        • Viewport
          • Rulers
      • Help menu
    • Widgets
      • Gradient
      • Graph Attribute
    • General
      • Aliasing
      • Blend Modes
      • Distribution Types
        • Array Distribution
        • Circle Distribution
        • Fibonacci Distribution
        • Grid Distribution
        • Linear Distribution
        • Mask Distribution
        • Math Distribution
        • Path Distribution
        • Point Distribution
        • Random Distribution
        • Rose Distribution
        • Shape Edges Distribution
        • Shape Points Distribution
        • Shuffle Distribution
        • Sub-Mesh Distribution
        • Voxelize Distribution
      • Color Management
      • Motion Blur
      • Vector artwork support
  • Nodes
    • Shapes
      • Common Attributes (Shapes)
      • Background Shape
      • Basic Line
        • Bézier
        • Line
        • Spiral
      • Basic Shape
        • Arc
        • Arrow
        • Capsule
        • Cogwheel
        • Ellipse
        • Polygon
        • Rectangle
        • Ring
        • Star
        • Super Ellipse
      • Cel Animation Shape
      • Composition
      • Connect Shape
      • Convex Hull
      • Custom Shape
      • Duplicator
      • Editable Shape
      • Footage Shape
      • Group
      • Image to Shapes
      • Layout Shape
        • Grid Layout
        • Horizontal Layout
        • Vertical Layout
      • Outline
      • Points to Curve
      • Quad Tree Shape
      • Rectangle Pattern
      • SVG
      • Spacer
      • Sub-Mesh Bounding Box
      • Text Shape
      • Trails
    • Behaviours
      • Common Attributes (Behaviours)
      • 3D Matrix
      • Add Divisions
      • Align
      • Alpha Material Override
      • Apply Distribution
      • Apply Layout
      • Behaviour Mixer
      • Bevel
      • Blend Shape
      • Blend Sub-Mesh Positions
      • Boolean
      • Clean Up
      • Color Blend
      • Color Material Override
      • Curve to Lines
      • Distance
      • Fill Rule
      • Flare
      • Flatten Shape Layers
      • Frame
      • Get Vector
      • HSV Material Overide
      • Is Within
      • Look At
      • Manipulator
      • Material Sampler
      • Modulate
      • Morph
      • Noise
      • Number Range
      • Number Range to Color
      • Oscillator
      • Path Offset
      • Pathfinder
      • Pinch
      • Position Blend
      • Push Along Vector
      • Random
      • Resample Path
      • Round
      • Rubber Hose Limb
      • Simple Value Solver
      • Simple Value2 Solver
      • Skew
      • Sound
      • Split Path
      • Spring
      • Squetch
      • Stagger
      • Sub-Mesh
      • Subdivide
      • Swap Color Override
      • Value
      • Value 2
      • Value Blend
      • Value2 Blend
      • Visibility Sequence
      • Voxelize
    • Utilities
      • Animation Control
      • Apply Font Size
      • Array Manipulator
      • Asset Array
      • Bounding Box
      • Bounding Box Constraint
      • Color Array
      • Color Info
      • Composition Constraint
      • Component Constraint
      • Context Index
      • Falloff
      • Get Name
      • HSV Color
      • If Else
      • Index to Color
      • JS Math
      • Length Context
      • Local Time
      • Math
      • Math2
      • Math 3
      • Measure
      • Mesh Array
      • Null
      • Path Length
      • Regex
      • Rig Control
      • Sequence
      • Shader Array
      • Spreadsheet
      • Spreadsheet Lookup
      • String
      • String Array
      • String Generator
        • Formatted String Generator
        • Hash Generator
        • Hexadecimal Generator
        • Random Date Generator
        • Random Number Generator
        • Timecode Generator
        • Value Generator
      • String Length
      • String Manipulator
        • Change String Case Manipulator
        • Join String Manipulator
        • Replace String Manipulator
        • Regex String Manipulator
        • Resize String Manipulator
        • Shuffle String Manipulator
        • Sub-String Manipulator
        • Transition String Maniplulator
      • Transform Constraint
      • Typeface
      • Typeface Array
      • Value Array
      • Value 2 Array
      • Value 2 Array
      • Velocity Context
      • Velocity Magnitude Context
    • Effects
      • Blur
      • Color Shader
      • Drop Shadow
      • Fill
      • Gradient Shader
      • Image Shader
      • Invert
      • Levels
      • Linear Wipe
      • Mask Blur
      • Noise Shader
      • Radial Wipe
      • SkSL Shader
      • Shape to Shader
      • Tri Tone
      • Venetian Blinds
  • Tips
    • Shortcuts
  • Applications
    • Cavalry Player
    • Cavalry CLI
  • Technical Information
    • Licencing
    • Logs
    • Mathematical Expressions
    • Release Notes
      • 1.1.1 Release Notes
      • 1.1 Release Notes
      • 1.0.3 Release Notes
      • 1.0.2 Release Notes
      • 1.0.1 Release Notes
    • User Preferences
Powered by GitBook
On this page

Was this helpful?

  1. Nodes
  2. Shapes

Common Attributes (Shapes)

Each Shape element in Cavalry includes the following common attributes.

PreviousShapesNextBackground Shape

Last updated 4 years ago

Was this helpful?

Position - set the Shape's position. 0,0 is in the centre of your comp.

Rotation - set the Shape's rotation. (in degrees).

Scale - set the Shape's scale.

Skew -

Pivot - define the pivot point for the shape. This is useful when animating rotation and scale.

Opacity - set the Shape's opacity.

Blend Mode - set the .

Deformers - a list of connected Deformers.

Filters - a list of connected .

Motion Blur - enable motion blur.

Fill - enable/disable the fill.

Color - set your color using hex or rgb values (note - only rgb values can be animated).

Shaders - a list of connected .

Alpha - a master control for the opacity/ alpha of your entire shader network.

Stroke - enable/disable the stroke.

Color - set your color using hex or rgb values (note - only rgb values can be animated).

Shaders - a list of connected .

Alpha - a master control for the opacity/ alpha of your entire shader network.

Width - set the width of the stroke.

Cap Style - set the appearance of caps (each end of the stroke) on open paths.

  • Flat - a flat end that terminates at the end point.

  • Round - a hemispherical end with the end point at its centre.

  • Projecting - a flat end that projects half the Width beyond the end point.

Join Style - set the appearance of joints.

  • Miter - sharp corners.

  • Round - rounded corners.

  • Bevel - beveled/ chamfered corners.

Miter Limit - sets the limit at which a sharp corner is drawn beveled.

Dash Pattern - enter a number sequence separated by commas.

Entering 2 will autocomplete to 2, 2 for Dash = 2, Gap = 2. Entering 2, 3, 4 will create a pattern of Dash = 2, Gap = 3, Dash = 4, Gap = 2, Dash = 3, Gap = 4...

Dash Offset - offset the Dash Pattern along the path.

Align - align the stroke along the path.

  • Center - align the stroke along the center of the path.

  • Inner - align the stroke along the inside of the path.

  • Outer - align the stroke along the outside of the path.

Open paths only support Center alignment. Where multiple contours appear in a single Path, any open contours will be set to Center regardless of the Align setting.

If you have Align set to Inner or Outer and Trim enabled, closed paths will be given a Cap Style of Flat regardless over their setting. Where multiple contours exist in one Shape, any open paths will respect the Cap Style setting.

Trim - when enabled the controls below are available.

Start - set the percentage along the Shape the Stroke will start.

End - set the percentage along the Shape the Stroke will end.

Travel - move the Stroke around the Shape.

Reverse Path - reverse the direction of the Stroke.

Masks - connect Shapes as clipping masks.

List UI options.

  • Visibility - enable/disable the Mask.

  • Boolean options:

    • Union - combines the shape.

    • Subtract - clips the shape.

    • Intersect - clips everything outside the shape.

Clipping Mode - set the anti-aliasing quality for the clipping shapes.

  • Best - high quality anti-aliasing.

  • Normal (default) - anti-aliasing.

  • Fast - no anti-aliasing.

Lottie Export:

  • Export if Visible - export a shape if its visibility is set to on.

  • Always Export - export a shape regardless of wether its visibility is set to on or off.

  • Never Export - do not export the shape regardless of wether its visibility is set to on or off.

Lottie Baking:

  • Automatic - automatically calculate if a shape needs baking based on the connections in your scene.

  • Animated Mesh - bake the shape information out for each frame. Materials will be static and changing point counts are not supported.

  • Animated Mesh & Materials - bake each shape and any materials for every frame.

  • Nuclear - this is the 'nuclear bake' option designed to work around shortcomings in Lottie.

  • Still - the shape will export as a still containing no animation.

When you connect a Shape as a mask it will be automatically switched to 'wireframe' mode. To turn this off, right click on a Shape in either the or the and uncheck Wireframe.

When using a as a Mask ensure that the Composition's is set to 0 if you do not want the Composition bounds to be included in the Mask.

Wireframe - display the shape as a wireframe in the . This option can also be set by right clicking on a Shape in the .

blend mode
Filters
Shaders
Shaders
Project Window
Attribute Editor
Composition
Background Alpha
Viewport
Scene Tree