Interface IDataVisual
Interface for the component on a data visual that controls how the data visual shows ratings
Namespace: Unity.MARS.Authoring
Syntax
public interface IDataVisual
Methods
ClearRating()
Reset the visual to show no rating
Declaration
void ClearRating()
ShowRating(Single)
Change the visual to show a given rating value.
Declaration
void ShowRating(float rating)
Parameters
Type | Name | Description |
---|---|---|
Single | rating | This data's rating value from 0 to 1 |