Table of Contents

Class CircularArrayLayoutListeners

Namespace
Fr4z.CircularArrayUi
Assembly
Fr4z.CircularArray.dll

A class containing listeners you can use to override some properties of the ciruclar array's content items individually. The order in which those are calculate when the circular array calculate the layout is: -Angle and radius -Direction -Local position and rotation

See CircularArrayToGrid.cs and CircularArrayMouseRadiusFollow.cs to see an example usage

public class CircularArrayLayoutListeners
Inheritance
CircularArrayLayoutListeners
Inherited Members

Fields

AngleListener

Use this listener to override the angle (in degrees) of the content item

public CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayAngleRadiusPhaseArgs, float> AngleListener

Field Value

CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayAngleRadiusPhaseArgs, float>

DirectionListener

Use this listener to override the direction of the content item

public CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayDirectionPhaseArgs, Vector3> DirectionListener

Field Value

CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayDirectionPhaseArgs, Vector3>

PositionListener

Use this listener to override the local position of the content item

public CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayPositionRotationPhaseArgs, Vector3> PositionListener

Field Value

CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayPositionRotationPhaseArgs, Vector3>

RadiusListener

Use this listener to override the distance from the center of the content item

public CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayAngleRadiusPhaseArgs, float> RadiusListener

Field Value

CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayAngleRadiusPhaseArgs, float>

RotationListener

Use this listener to override the rotation of the content item

public CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayPositionRotationPhaseArgs, Vector3> RotationListener

Field Value

CircularArrayLayoutListener<CircularArrayContentItem.CircularArrayPositionRotationPhaseArgs, Vector3>