Component:ColorWheelTriangleMesh
From Resonite Wiki
More actions
Component image 
Color Wheel Triangle Mesh component as seen in the Scene Inspector

The ColorWheelTriangleMesh component is used in the old platform's color pickers. Some may call this a "flower" or a "color picker" visual.
Fields
| Name | Type | Description |
|---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
HighPriorityIntegration
|
Bool | If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes. |
OverrideBoundingBox
|
Bool | Force the bounding box calculated from this component to use OverridenBoundingBox instead of calculating when requested.
|
OverridenBoundingBox
|
BoundingBox | the bounding box this component should say it has when OverrideBoundingBox is enabled. Useful for bounding box calculations with Flux, or changing the selection box for this component when rendered.
|
Profile
|
ColorProfile | The profile that the vertex colors for this mesh should be displayed in. |
Hue
|
Float | The Hue the user picked. |
OuterRadius
|
Float | The radius of the outer edge of the outer ring of the color circle of hues. |
InnerRadius
|
Float | The radius of the inner edge of the outer ring of the color circle of hues. |
RingSegments
|
Int | How many ring wise subdivisions of the outer ring of color hues. |
CursorPosition
|
Float3 | The position of the cursor inside of the triangle. |
CursorSegments
|
Int | How many ring wise subdivisions of the color picker cursor ring. |
CursorColor
|
ColorX | The color of the cursor for color picking. |
CursorOuterRadius
|
Float | The radius of the outer edge of the cursor ring. |
CursorInnerRadius
|
Float | The radius of the inner edge of the cursor ring. |
CursorZOffset
|
Float | How much to offset the color picker cursor off the surface of the triangle. |
Sync Delegates
| Method Name | Method type and Arguments. | Is the method hidden? | Description |
|---|
Usage
Attach to a slot and insert into a Component:MeshRenderer that supports vertex colors to view what it looks like.
Examples
Used in color pickers from other platform content.