mirror of
https://github.com/centau/vide.git
synced 2026-10-20 17:34:08 +00:00
feat: expand and organize Instances types (#92)
Some checks failed
unit-test / unit-test (push) Has been cancelled
Some checks failed
unit-test / unit-test (push) Has been cancelled
* feat: expand Instances types * Delete selene.toml
This commit is contained in:
parent
2adbf16f8f
commit
a57679118a
1 changed files with 34 additions and 8 deletions
|
|
@ -53,37 +53,63 @@ local function create(class_or_instance: string|Instance, properties: { [unknown
|
||||||
end
|
end
|
||||||
|
|
||||||
export type Instances = {
|
export type Instances = {
|
||||||
|
-- containers
|
||||||
Folder: Folder,
|
Folder: Folder,
|
||||||
|
Configuration: Configuration,
|
||||||
|
|
||||||
|
-- layer collectors
|
||||||
|
ScreenGui: ScreenGui,
|
||||||
|
SufaceGui: SurfaceGui,
|
||||||
BillboardGui: BillboardGui,
|
BillboardGui: BillboardGui,
|
||||||
CanvasGroup: CanvasGroup,
|
|
||||||
|
-- ui objects
|
||||||
Frame: Frame,
|
Frame: Frame,
|
||||||
|
CanvasGroup: CanvasGroup,
|
||||||
ImageButton: ImageButton,
|
ImageButton: ImageButton,
|
||||||
ImageLabel: ImageLabel,
|
ImageLabel: ImageLabel,
|
||||||
ScreenGui: ScreenGui,
|
|
||||||
ScrollingFrame: ScrollingFrame,
|
ScrollingFrame: ScrollingFrame,
|
||||||
SurfaceGui: SurfaceGui,
|
|
||||||
TextBox: TextBox,
|
TextBox: TextBox,
|
||||||
TextButton: TextButton,
|
TextButton: TextButton,
|
||||||
TextLabel: TextLabel,
|
TextLabel: TextLabel,
|
||||||
|
VideoFrame: VideoFrame,
|
||||||
|
Path2D: Path2D,
|
||||||
|
|
||||||
|
-- ui components
|
||||||
UIAspectRatioConstraint: UIAspectRatioConstraint,
|
UIAspectRatioConstraint: UIAspectRatioConstraint,
|
||||||
UICorner: UICorner,
|
UICorner: UICorner,
|
||||||
UIGradient: UIGradient,
|
UIGradient: UIGradient,
|
||||||
UIGridLayout: UIGridLayout,
|
|
||||||
UIListLayout: UIListLayout,
|
|
||||||
UISizeConstraint: UISizeConstraint,
|
UISizeConstraint: UISizeConstraint,
|
||||||
UITextSizeConstraint: UITextSizeConstraint,
|
UITextSizeConstraint: UITextSizeConstraint,
|
||||||
UIScale: UIScale,
|
UIScale: UIScale,
|
||||||
UIPadding: UIPadding,
|
UIPadding: UIPadding,
|
||||||
UIStroke: UIStroke,
|
UIStroke: UIStroke,
|
||||||
UIFlexItem: UIFlexItem,
|
UIFlexItem: UIFlexItem,
|
||||||
|
UIShadow: UIShadow,
|
||||||
|
UIDragDetector: UIDragDetector,
|
||||||
|
|
||||||
|
-- ui layouts
|
||||||
|
UIGridLayout: UIGridLayout,
|
||||||
|
UIListLayout: UIListLayout,
|
||||||
UIPageLayout: UIPageLayout,
|
UIPageLayout: UIPageLayout,
|
||||||
UITableLayout: UITableLayout,
|
UITableLayout: UITableLayout,
|
||||||
VideoFrame: VideoFrame,
|
|
||||||
|
-- viewports / world ui
|
||||||
ViewportFrame: ViewportFrame,
|
ViewportFrame: ViewportFrame,
|
||||||
ProximityPrompt: ProximityPrompt,
|
|
||||||
UIDragDetector: UIDragDetector,
|
|
||||||
Camera: Camera,
|
Camera: Camera,
|
||||||
WorldModel: WorldModel,
|
WorldModel: WorldModel,
|
||||||
|
|
||||||
|
-- interaction
|
||||||
|
ProximityPrompt: ProximityPrompt,
|
||||||
|
|
||||||
|
-- value objs
|
||||||
|
BoolValue: BoolValue,
|
||||||
|
IntValue: IntValue,
|
||||||
|
NumberValue: NumberValue,
|
||||||
|
StringValue: StringValue,
|
||||||
|
ObjectValue: ObjectValue,
|
||||||
|
ColorValue: Color3Value,
|
||||||
|
VectorValue: Vector3Value,
|
||||||
|
CFrameValue: CFrameValue,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type function Properties(instance: type?)
|
export type function Properties(instance: type?)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue