Light3D
|
| Position and Size
|
| Name
| Description
| Values accepted
| Default
|
| Pos X
| The X coordinate for the element.
| A constant or variable of type double or int.
|
|
| Pos Y
| The Y coordinate for the element.
| A constant or variable of type double or int.
|
|
| Pos Z
| The Z coordinate for the element.
| A constant or variable of type double or int.
|
|
| Position []
| The double[] array with the coordinates of the element.
| A double array.
|
|
| Direction X
| The X direction of the element.
| A constant or variable of type double or int.
|
|
| Direction Y
| The Y direction of the element.
| A constant or variable of type double or int.
|
|
| Direction Z
| The Z direction of the element.
| A constant or variable of type double or int.
|
|
| Direction
| The direction of the element.
| A double array.
|
|
| Transform
| The transformation to apply to this element.
| Use the editor provided or read more about transforms.
|
|
| Visibility and Interaction
|
| Name
| Description
| Values accepted
| Default
|
| Visible
| The visibility of the element.
| A boolean variable or one of the constants true or false.
|
|
| Measured
| Whether the element affects its parent panel’s autoscaling.
| A boolean variable or one of the constants true or false.
|
|
| Draggable
| Whether the element can be dragged.
| A boolean variable or one of the constants true or false.
|
|
| Resizable
| Whether the element can be resized.
| A integer value, a boolean or use the editor provided.
|
|
| Drag Group
| Whether dragging the element affects its group.
| A boolean variable or one of the constants true or false.
|
|
| Resize Group
| Whether the resizing affects its group (if any).
| A boolean variable or one of the constants true or false.
|
|
| Sensitivity
| The size of the hot spot in pixels (0 for the full element).
| A constant or variable of tipe int.
|
|
| On Press
| The action to invoke when the element is pressed.
| The Java code to invoke for the action.
|
|
| On Drag
| The action to invoke when the element is dragged.
| The Java code to invoke for the action.
|
|
| On Release
| The action to invoke when the element is released.
| The Java code to invoke for the action.
|
|
| On Enter
| The action to invoke when the mouse enters the element.
| The Java code to invoke for the action.
|
|
| On Exit
| The action to invoke when the mouse leaves the element.
| The Java code to invoke for the action.
|
|
| Graphical Aspect
|
| Name
| Description
| Values accepted
| Default
|
| Type
| The type of light.
| Use the editor provided to choise the type of light.
|
|
| On
| Whether the element is on or off.
| A boolean variable or one of the constants true or false.
|
|
| Fill Color
| The color used to fill the element.
| Use the editor provided or read about colors. The special value null draws a hollow element.
|
|
| Ambient Factor
| The ambient factor of the light.
| A constant or variable of type double or int.
|
|
| Attenuation
| The attenuation factor of the light.
| A constant or variable of type double, double[] or int.
|
|
| Concentration
| The concentration factor of the light.
| A constant or variable of type double or int.
|
|
| Angle
| The angle factor of the light.
| A constant or variable of type double or int.
|
|