106 lines
4.4 KiB
C#
106 lines
4.4 KiB
C#
//------------------------------------------------------------------------------
|
||
// <auto-generated>
|
||
// This code was generated by a tool.
|
||
//
|
||
// Changes to this file may cause incorrect behavior and will be lost if
|
||
// the code is regenerated.
|
||
// </auto-generated>
|
||
//------------------------------------------------------------------------------
|
||
|
||
using Newtonsoft.Json;
|
||
|
||
namespace Shuttle.Api.AfterEffectsDTO.Misc
|
||
{
|
||
/// <summary>
|
||
/// The Shape object encapsulates information describing a shape in a shape layer, or the outline
|
||
/// shape of a Mask. It is the value of the “Mask Path” AE properties, and of the “Path” AE property of a
|
||
/// shape layer. Use the constructor, new Shape(), to create a new, empty Shape object, then set the
|
||
/// attributes individually to define the shape.
|
||
/// </summary>
|
||
public class Shape
|
||
{
|
||
/// <summary>
|
||
/// When true, the first and last vertices are connected to form a closed curve. When false, the
|
||
/// closing segment is not drawn.
|
||
/// </summary>
|
||
[JsonProperty("closed")]
|
||
public bool Closed { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s radius interpolation type (0 for non-Hold feather points,
|
||
/// 1 for Hold feather points).
|
||
/// </summary>
|
||
[JsonProperty("featherInterps")]
|
||
public int[] FeatherInterps { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s radius (feather amount); inner feather points have
|
||
/// negative values.
|
||
/// </summary>
|
||
[JsonProperty("featherRadii")]
|
||
public float[] FeatherRadii { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s relative angle percentage between the two normals on
|
||
/// either side of a curved outer feather boundary at a corner on a mask path. The angle value is 0% for
|
||
/// feather points not at corners.
|
||
/// </summary>
|
||
[JsonProperty("featherRelCornerAngles")]
|
||
public float[] FeatherRelCornerAngles { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s relative position, from 0 to 1, on its mask path segment
|
||
/// (section of the mask path between vertices, numbered starting at 0).
|
||
/// </summary>
|
||
[JsonProperty("featherRelSegLocs")]
|
||
public float[] FeatherRelSegLocs { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s mask path segment number (section of the mask path
|
||
/// between vertices, numbered starting at 0).
|
||
/// </summary>
|
||
[JsonProperty("featherSegLocs")]
|
||
public int[] FeatherSegLocs { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s tension amount, from 0 (0% tension) to 1 (100% tension).
|
||
/// </summary>
|
||
[JsonProperty("featherTensions")]
|
||
public float[] FeatherTensions { get; set; }
|
||
|
||
/// <summary>
|
||
/// An array containing each feather point’s direction, either 0 (outer feather point) or 1 (inner
|
||
/// feather point).
|
||
/// </summary>
|
||
[JsonProperty("featherTypes")]
|
||
public int[] FeatherTypes { get; set; }
|
||
|
||
/// <summary>
|
||
/// The incoming tangent vectors, or direction handles, associated with the vertices of the shape.
|
||
/// Specify each vector as an array of two floating-point values, and collect the vectors into an array the
|
||
/// same length as the vertices array.
|
||
/// </summary>
|
||
[JsonProperty("inTangents")]
|
||
public float[] InTangents { get; set; }
|
||
|
||
/// <summary>
|
||
/// The outgoing tangent vectors, or direction handles, associated with the vertices of the shape.
|
||
/// Specify each vector as an array of two floating-point values, and collect the vectors into an array the
|
||
/// same length as the vertices array.
|
||
/// </summary>
|
||
[JsonProperty("outTangents")]
|
||
public float[] OutTangents { get; set; }
|
||
|
||
/// <summary>
|
||
/// The anchor points of the shape. Specify each point as an array of two floating-point values, and
|
||
/// collect the point pairs into an array for the complete set of points. For example:
|
||
/// </summary>
|
||
[JsonProperty("vertices")]
|
||
public float[] Vertices { get; set; }
|
||
|
||
public override string ToString()
|
||
{
|
||
return base.ToString();
|
||
}
|
||
}
|
||
}
|