UniqueAvatarColor Class

Change Hue to a unique color based on avatar index.

Definition

Namespace: Alteruna
Assembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
C#
public class UniqueAvatarColor : CommunicationBridge
Inheritance
Object    Object    Component    Behaviour    MonoBehaviour    CommunicationBridge    UniqueAvatarColor

Remarks

Methods

HueFromId(Color, Int32) Set hue of a color based on ID.
HueFromId(Color, Int32, Single) Set hue of a color based on ID.
HueFromId(Color, Int32, Single, Single) Set hue of a color based on ID.
HueToIdObsolete.
Possessed
(Overrides CommunicationBridgePossessed(Boolean, User))
UpdateHue Manually update color of objects referenced inside the UniqueAvatarColor.
UpdateHue(UInt16) Manually set color of objects referenced inside the UniqueAvatarColor.

Fields

Renderers References to mesh renderers to be affected by hue changes.
Saturation Saturation of generated color.
Sprites References to sprite renderers to be affected by hue changes.

See Also