Table of Contents

Method SetMessageColorAndOpacityAsync

Namespace
Oscova.Agents.Avatar
Assembly
Oscova.Agents.dll

SetMessageColorAndOpacityAsync(float, float, float, float)

Sets the avatar message color and opacity using normalized RGBA values.

Task<AvatarMessageColorAndOpacityResponse> SetMessageColorAndOpacityAsync(float red, float green, float blue, float alpha)

Parameters

red float

Normalized red component from 0.0 through 1.0.

green float

Normalized green component from 0.0 through 1.0.

blue float

Normalized blue component from 0.0 through 1.0.

alpha float

Normalized alpha component from 0.0 through 1.0.

Returns

Task<AvatarMessageColorAndOpacityResponse>

Response indicating success, description, and the applied normalized RGBA values.