Rive Guide
Ask or search…
Comment on page


Control the layout of your Rive animation in Unity
For more information on Rive Layout see the runtime documentation.

Fit and Alignment

The fit and alignment can be controlled on the RenderQueue align method:
public Fit fit = Fit.contain;
public Alignment alignment = Alignment.center;
public RenderTexture renderTexture;
m_renderQueue = new RenderQueue(renderTexture);
if (m_artboard != null && renderTexture != null)
m_renderQueue.align(fit, alignment, m_artboard);
Last modified 20d ago