37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@meta
 | 
						|
 | 
						|
---@class Path : Animation
 | 
						|
Path = {
 | 
						|
	--- Gets the number of control points in the path.
 | 
						|
	--- @return number count The number of control points.
 | 
						|
	--- @example
 | 
						|
	--- local count = myPath:GetNumControlPoints()
 | 
						|
	GetNumControlPoints = function(self) end,
 | 
						|
 | 
						|
	--- Gets the curve type of the path.
 | 
						|
	--- @return string curveType The curve type ("NONE", "BEZIER").
 | 
						|
	--- @example
 | 
						|
	--- local curveType = myPath:GetCurveType()
 | 
						|
	GetCurveType = function(self) end,
 | 
						|
 | 
						|
	--- Creates a new control point at the specified index.
 | 
						|
	--- @param index number The index to create the control point at.
 | 
						|
	--- @return ControlPoint point The created control point.
 | 
						|
	--- @example
 | 
						|
	--- local point = myPath:CreateControlPoint(1)
 | 
						|
	CreateControlPoint = function(self, index) end,
 | 
						|
 | 
						|
	--- Gets a control point at the specified index.
 | 
						|
	--- @param index number The index of the control point.
 | 
						|
	--- @return ControlPoint point The control point.
 | 
						|
	--- @example
 | 
						|
	--- local point = myPath:GetControlPoint(1)
 | 
						|
	GetControlPoint = function(self, index) end,
 | 
						|
 | 
						|
	--- Sets the curve type of the path.
 | 
						|
	--- @param curveType string The curve type ("NONE", "BEZIER").
 | 
						|
	--- @example
 | 
						|
	--- myPath:SetCurveType("BEZIER")
 | 
						|
	SetCurveType = function(self, curveType) end,
 | 
						|
}
 |