ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


SpriteRendererDataAccessExtensions

A list of methods that allow the caller to override what the SpriteRenderer renders.
読み終わるまでの所要時間 1 分最終更新 21日前

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.