HandleAdornment
HandleAdornment is an abstract class inherited by 3D handle adornments.
Memory category | Instances |
---|
Member index 9
Description
History 29
- 553 Change Default of ZIndex from to
- 553 Change Default of SizeRelativeOffset from to
- 553 Change Default of CFrame from to
- 553 Change Default of AlwaysOnTop from to
- 553 Change Default of AdornCullingMode from to
- 486 Change ThreadSafety of ZIndex from ReadOnly to ReadSafe
- 486 Change ThreadSafety of SizeRelativeOffset from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CFrame from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AlwaysOnTop from ReadOnly to ReadSafe
- 486 Change ThreadSafety of AdornCullingMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of MouseLeave from to Unsafe
- 462 Change ThreadSafety of MouseEnter from to Unsafe
- 462 Change ThreadSafety of MouseButton1Up from to Unsafe
- 462 Change ThreadSafety of MouseButton1Down from to Unsafe
- 462 Change ThreadSafety of ZIndex from to ReadOnly
- 462 Change ThreadSafety of SizeRelativeOffset from to ReadOnly
- 462 Change ThreadSafety of CFrame from to ReadOnly
- 462 Change ThreadSafety of AlwaysOnTop from to ReadOnly
- 462 Change ThreadSafety of AdornCullingMode from to ReadOnly
- 452 Add AdornCullingMode
- 196 Add MouseLeave
- 196 Add MouseEnter
- 196 Add MouseButton1Up
- 196 Add MouseButton1Down
- 196 Add ZIndex
- 196 Add SizeRelativeOffset
- 196 Add CFrame
- 196 Add AlwaysOnTop
- 196 Add HandleAdornment
Members 9
AdornCullingMode
Type | Default | |
---|---|---|
AdornCullingMode |
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 4
- 553 Change Default of AdornCullingMode from to
- 486 Change ThreadSafety of AdornCullingMode from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AdornCullingMode from to ReadOnly
- 452 Add AdornCullingMode
AlwaysOnTop
Type | Default | |
---|---|---|
bool |
Forces this object to render on top of all 3d objects in the Workspace. Even if the adornment is behind a part based on its HandleAdornment.CFrame, if AlwaysOnTop is true then the adornment will still draw on top. The one exception to this behavior is if the HandleAdornment.ZIndex of the adornment is set to -1. If this is the case, the adornment will always draw behind 3d geometry.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 4
- 553 Change Default of AlwaysOnTop from to
- 486 Change ThreadSafety of AlwaysOnTop from ReadOnly to ReadSafe
- 462 Change ThreadSafety of AlwaysOnTop from to ReadOnly
- 196 Add AlwaysOnTop
CFrame
Type | Default | |
---|---|---|
CFrame |
The position and rotation relative to its PVAdornment.Adornee. This CFrame is in the local space of the adornee, so forward (0,0,-1) will be forward relative to the adornee. The offset and rotation of this CFrame is applied after any translations due to HandleAdornment.SizeRelativeOffset.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
MouseButton1Down
Parameters (0) | ||
---|---|---|
No parameters. |
Fires when a user presses down on their left mouse button while hovering over the adornment.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of MouseButton1Down from to Unsafe
- 196 Add MouseButton1Down
MouseButton1Up
Parameters (0) | ||
---|---|---|
No parameters. |
Fires when a user releases their left mouse button while hovering over the adornment.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of MouseButton1Up from to Unsafe
- 196 Add MouseButton1Up
MouseEnter
Parameters (0) | ||
---|---|---|
No parameters. |
Fires when a user moves their mouse over the adornment.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of MouseEnter from to Unsafe
- 196 Add MouseEnter
MouseLeave
Parameters (0) | ||
---|---|---|
No parameters. |
Fires when a user moves their mouse out of the adornment.
Thread safety | Unsafe |
---|
History 2
- 462 Change ThreadSafety of MouseLeave from to Unsafe
- 196 Add MouseLeave
SizeRelativeOffset
Type | Default | |
---|---|---|
Vector3 |
The positional offset of the adornment based on the adornee's BasePart.Size. By default, an adornment draws in the center of its adornee. By using this property, the position of the adornment can be shifted relative to the center of the adornee. The units of SizeRelativeOffset are a scale based on the size of the adornee itself. This scale is such that a value of 1 will move the adornment to the corresponding edge of the adornee. This property is intended to allow adornments to easily be moved to the edges of a parts.
For example, if the SizeRelativeOffset is set to (0,1,0), the adornment will be drawn with its center at the exact top of the adornee. If set to (1,1,1), the adornment will be drawn in the upper corner of the adornee.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |
History 4
- 553 Change Default of SizeRelativeOffset from to
- 486 Change ThreadSafety of SizeRelativeOffset from ReadOnly to ReadSafe
- 462 Change ThreadSafety of SizeRelativeOffset from to ReadOnly
- 196 Add SizeRelativeOffset
ZIndex
Type | Default | |
---|---|---|
int |
The ZIndex property determines the draw order of the HandleAdornment. This ZIndex only refers to how the adornment will draw relative to other adornments or 3d objects in the workspace. This does not relate to the GuiObject.ZIndex of GuiObjects.
The valid values for ZIndex are from -1 to 10. If two HandleAdornments are drawn over one another, the one with the higher ZIndex will be drawn. This order of drawing will be respected even if the adornment with higher ZIndex is behind the other adornment in terms of its position in 3d space. If set to -1, ZIndex will force the adornment to draw behind other adornments and objects in the Workspace, even if the HandleAdornment.AlwaysOnTop property for the adornment is true.
Thread safety | ReadSafe |
---|---|
Category | Data |
Loaded/Saved | true |