Class · inherits PVAdornment
HandleAdornment
An abstract class inherited by 3D handle adornments.
About HandleAdornment
Properties 5
AdornCullingMode
: AdornCullingModeDetermines whether to automatically cull the adornment.This property determines whether to automatically cull the adornment based on distance from the camera.
AlwaysOnTop
: booleanForces this adornment to render on top of all 3D objects in the workspace.If
true, forces this adornment to render on top of all 3D objects in the workspace. As an exception, settingZIndexto-1will override anAlwaysOnTopvalue oftrueand cause the adornment to appear either in front of or behind other adornments and objects based on their relative position in the 3D space.CFrame
: CFrameThe position and rotation of the object relative to itsPVAdornment.Adornee.CFrameposition and rotation relative to itsPVAdornment.Adornee, applied after any translations due toSizeRelativeOffset.SizeRelativeOffset
: Vector3The positional offset of the adornment based on the adornee'sBasePart.Size.By default, an adornment draws in the center of its
Adornee, but this property shifts the adornment's relative position based on the adornee'sBasePart.Size.Note that the units of
SizeRelativeOffsetare a scale based on the size of the adornee itself, such that a value of1will move the adornment to the corresponding edge of the adornee. For example, a value ofDatatype.Vector3.new(0, 1, 0)will shift the adornment to the exact top of its adornee.ZIndex
: intDetermines the draw order of thisHandleAdornmentwhenAlwaysOnTopistrue.Only applies if
AlwaysOnTopistrueand determines the draw order of thisHandleAdornmentrelative to other adornments. It does not relate to theZIndexproperty forGuiObjects.Valid values are from
-1to10with higher values drawing on top (in front) of lesser values. This drawing order will be respected even if an adornment is in front of or behind another adornment in the 3D space.As an exception, setting
ZIndexto-1orAlwaysOnToptofalsewill cause the adornment to appear either in front of or behind other adornments and objects based on their relative position in the 3D space.
Events 4
MouseButton1Down
HandleAdornment.MouseButton1Down:Connect(function())Fires when a player presses down on their left mouse button while hovering over the adornment.MouseButton1Up
HandleAdornment.MouseButton1Up:Connect(function())Fires when a player releases their left mouse button while hovering over the adornment.
HandleAdornment also has every member of PVAdornment. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.