| ControlPointUI Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: BrydenWoodUnity.UIElements
 Syntax
SyntaxThe ControlPointUI type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | ControlPointUI | Initializes a new instance of the ControlPointUI class | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddSceneObject | (Overrides UiRepresentationAddSceneObject(Transform).) | 
|  | DestroyUIRep | (Overrides UiRepresentationDestroyUIRep(Transform).) | 
|  | Initialize(ListTransform) | 
            Initiates the component
             | 
|  | Initialize(Transform) | (Overrides UiRepresentationInitialize(Transform).) | 
|  | OnDrag | 
            Called when the element is being dragged
             | 
|  | OnPointerDown | 
            Called when the pointer is down on top of the element
             | 
|  | OnPointerEnter | 
            Called when the pointer enters the element
             | 
|  | OnPointerExit | 
            Called when the pointer exits the element
             | 
|  | OnPointerUp | 
            Called when the pointer is up on top of the element
             | 
|  | ToggleAxisConstraint | |
|  | UpdateInitDiffs | |
|  | UpdatePositions | 
 Events
Events| Name | Description | |
|---|---|---|
|  | moved | 
            Triggered when the element is moved
             | 
|  | onSelected | |
|  | stoppedMoving | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | axis | |
|  | axisConstrain | |
|  | image | 
            The Image component of the GUI object
             | 
|  | initialDiffs | |
|  | mouseOver | 
            The color to be used when the mouse is over the element
             | 
|  | movePlane | 
            The type of plane to contrain the movement on (the actual plane will be parallel to this one but with its centre at the initial position of the scene object
             | 
|  | original | 
            The original color of the Image
             | 
|  | selected | 
            The color to be used when the element is clicked
             | 
 See Also
See Also