Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SpriteRendererDataAccessExtensions

A list of methods that allow the caller to override what the SpriteRenderer renders.
Read time 1 minuteLast updated 12 days ago

Definition

public static class SpriteRendererDataAccessExtensions

Remarks

This feature is used mainly in the Sprite Animation feature. The SpriteSkin component gets the deformable buffer and deforms it using the skin weights and bones. After the deformation is complete, the Sprite Renderer uses it to render the Sprite instead of the Sprite's original mesh.

Static Methods

Method

Description

DeactivateDeformableBufferStop using the deformable buffer to render the Sprite and use the original mesh instead.
GetShaderUserValueReturns the custom value assigned to this renderer.
SetShaderUserValueAssign a custom value to this renderer.