mirror of
https://github.com/centau/vide.git
synced 2026-10-22 12:31:38 +00:00
feat: added more instances type definitions
This commit is contained in:
parent
f3bfc65607
commit
304baece1c
1 changed files with 82 additions and 31 deletions
113
src/create.luau
113
src/create.luau
|
|
@ -53,37 +53,88 @@ local function create(class_or_instance: string|Instance, properties: { [unknown
|
||||||
end
|
end
|
||||||
|
|
||||||
export type Instances = {
|
export type Instances = {
|
||||||
Folder: Folder,
|
PyramidHandleAdornment: PyramidHandleAdornment,
|
||||||
BillboardGui: BillboardGui,
|
AudioChannelSplitter: AudioChannelSplitter,
|
||||||
CanvasGroup: CanvasGroup,
|
AudioPitchShifter: AudioPitchShifter,
|
||||||
Frame: Frame,
|
AudioDeviceOutput: AudioDeviceOutput,
|
||||||
ImageButton: ImageButton,
|
AudioChannelMixer: AudioChannelMixer,
|
||||||
ImageLabel: ImageLabel,
|
AudioTextToSpeech: AudioTextToSpeech,
|
||||||
ScreenGui: ScreenGui,
|
AudioDeviceInput: AudioDeviceInput,
|
||||||
ScrollingFrame: ScrollingFrame,
|
AudioDistortion: AudioDistortion,
|
||||||
SurfaceGui: SurfaceGui,
|
AudioCompressor: AudioCompressor,
|
||||||
TextBox: TextBox,
|
AudioEqualizer: AudioEqualizer,
|
||||||
TextButton: TextButton,
|
AudioAnalyzer: AudioAnalyzer,
|
||||||
TextLabel: TextLabel,
|
AudioListener: AudioListener,
|
||||||
UIAspectRatioConstraint: UIAspectRatioConstraint,
|
AudioRecorder: AudioRecorder,
|
||||||
UICorner: UICorner,
|
AudioLimiter: AudioLimiter,
|
||||||
UIGradient: UIGradient,
|
AudioFlanger: AudioFlanger,
|
||||||
UIGridLayout: UIGridLayout,
|
AudioEmitter: AudioEmitter,
|
||||||
UIListLayout: UIListLayout,
|
AudioPlayer: AudioPlayer,
|
||||||
UISizeConstraint: UISizeConstraint,
|
AudioReverb: AudioReverb,
|
||||||
UITextSizeConstraint: UITextSizeConstraint,
|
AudioFilter: AudioFilter,
|
||||||
UIScale: UIScale,
|
ArcHandles: ArcHandles,
|
||||||
UIPadding: UIPadding,
|
AudioFader: AudioFader,
|
||||||
UIStroke: UIStroke,
|
AudioEcho: AudioEcho,
|
||||||
UIFlexItem: UIFlexItem,
|
AdGui: AdGui,
|
||||||
UIPageLayout: UIPageLayout,
|
BoxHandleAdornment: BoxHandleAdornment,
|
||||||
UITableLayout: UITableLayout,
|
BillboardGui: BillboardGui,
|
||||||
VideoFrame: VideoFrame,
|
BlurEffect: BlurEffect,
|
||||||
ViewportFrame: ViewportFrame,
|
CylinderHandleAdornment: CylinderHandleAdornment,
|
||||||
ProximityPrompt: ProximityPrompt,
|
ConeHandleAdornment: ConeHandleAdornment,
|
||||||
UIDragDetector: UIDragDetector,
|
CanvasGroup: CanvasGroup,
|
||||||
Camera: Camera,
|
Camera: Camera,
|
||||||
WorldModel: WorldModel,
|
DialogChoice: DialogChoice,
|
||||||
|
DragDetector: DragDetector,
|
||||||
|
Dialog: Dialog,
|
||||||
|
Folder: Folder,
|
||||||
|
Frame: Frame,
|
||||||
|
Highlight: Highlight,
|
||||||
|
Handles: Handles,
|
||||||
|
ImageHandLeAdornment: ImageHandleAdornment,
|
||||||
|
ImageButton: ImageButton,
|
||||||
|
ImageLabel: ImageLabel,
|
||||||
|
LineHandleAdornment: LineHandleAdornment,
|
||||||
|
ProximityPrompt: ProximityPrompt,
|
||||||
|
Path2D: Path2D,
|
||||||
|
Part: Part,
|
||||||
|
SphereHandLeAdornment: SphereHandleAdornment,
|
||||||
|
SelectionSphere: SelectionSphere,
|
||||||
|
ScrollingFrame: ScrollingFrame,
|
||||||
|
SelectionBox: SelectionBox,
|
||||||
|
StyleDerive: StyleDerive,
|
||||||
|
StyleQuery: StyleQuery,
|
||||||
|
SurfaceGui: SurfaceGui,
|
||||||
|
StyleSheet: StyleSheet,
|
||||||
|
SoundGroup: SoundGroup,
|
||||||
|
StyleLink: StyleLink,
|
||||||
|
ScreenGui: ScreenGui,
|
||||||
|
StyleBase: StyleBase,
|
||||||
|
StyleRule: StyleRule,
|
||||||
|
Sound: Sound,
|
||||||
|
TextButton: TextButton,
|
||||||
|
TextLabel: TextLabel,
|
||||||
|
TextBox: TextBox,
|
||||||
|
UIAspectRatioConstraint: UIAspectRatioConstraint,
|
||||||
|
UITextSizeConstraint: UITextSizeConstraint,
|
||||||
|
UISizeConstraint: UISizeConstraint,
|
||||||
|
UIDragDetector: UIDragDetector,
|
||||||
|
UITableLayout: UITableLayout,
|
||||||
|
UIPageLayout: UIPageLayout,
|
||||||
|
UIGridLayout: UIGridLayout,
|
||||||
|
UIListLayout: UIListLayout,
|
||||||
|
UIGradient: UIGradient,
|
||||||
|
UIFlexItem: UIFlexItem,
|
||||||
|
UIPadding: UIPadding,
|
||||||
|
UIStroke: UIStroke,
|
||||||
|
UICorner: UICorner,
|
||||||
|
UIShadow: UIShadow,
|
||||||
|
UIScale: UIScale,
|
||||||
|
ViewportFrame: ViewportFrame,
|
||||||
|
VideoDisplay: VideoDisplay,
|
||||||
|
VideoFrame: VideoFrame,
|
||||||
|
WireframeHandleAdornment: WireframeHandleAdornment,
|
||||||
|
WorldModel: WorldModel,
|
||||||
|
Wire: Wire,
|
||||||
}
|
}
|
||||||
|
|
||||||
export type function Properties(instance: type?)
|
export type function Properties(instance: type?)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue