90 lines
1.4 KiB
Lua
90 lines
1.4 KiB
Lua
local SimpleAnimPathAPI =
|
|
{
|
|
Name = "SimpleAnimPathAPI",
|
|
Type = "ScriptObject",
|
|
Environment = "All",
|
|
|
|
Functions =
|
|
{
|
|
{
|
|
Name = "CreateControlPoint",
|
|
Type = "Function",
|
|
SecretArguments = "NotAllowed",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "name", Type = "cstring", Nilable = true },
|
|
{ Name = "templateName", Type = "cstring", Nilable = true },
|
|
{ Name = "order", Type = "number", Nilable = true },
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "point", Type = "SimpleControlPoint", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetControlPoints",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "points", Type = "SimpleControlPoint", Nilable = false, StrideIndex = 1 },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetCurveType",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "curveType", Type = "CurveType", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "GetMaxControlPointOrder",
|
|
Type = "Function",
|
|
|
|
Arguments =
|
|
{
|
|
},
|
|
|
|
Returns =
|
|
{
|
|
{ Name = "maxOrder", Type = "number", Nilable = false },
|
|
},
|
|
},
|
|
{
|
|
Name = "SetCurveType",
|
|
Type = "Function",
|
|
SecretArguments = "AllowedWhenUntainted",
|
|
|
|
Arguments =
|
|
{
|
|
{ Name = "curveType", Type = "CurveType", Nilable = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
Events =
|
|
{
|
|
},
|
|
|
|
Tables =
|
|
{
|
|
},
|
|
|
|
Predicates =
|
|
{
|
|
},
|
|
};
|
|
|
|
APIDocumentation:AddDocumentationTable(SimpleAnimPathAPI); |