186 lines
7.3 KiB
C#
186 lines
7.3 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;
|
||
using Shuttle.Api.AfterEffectsDTO.Items;
|
||
using Shuttle.Api.AfterEffectsDTO.Render;
|
||
|
||
namespace Shuttle.Api.AfterEffectsDTO
|
||
{
|
||
/// <summary>
|
||
/// The project object represents an After Effects project. Attributes provide access to specific
|
||
/// objects within the project, such as imported files or footage and compositions, and also to project
|
||
/// settings such as the timecode base. Methods can import footage, create solids, compositions and folders,
|
||
/// and save changes.
|
||
/// </summary>
|
||
public class Project
|
||
{
|
||
/// <summary>
|
||
/// The item that is currently active and is to be acted upon, or a null if no item is currently
|
||
/// selected or if multiple items are selected.
|
||
/// </summary>
|
||
[JsonProperty("activeItem")]
|
||
public int ActiveItemId { get; private set; }
|
||
|
||
/// <summary>
|
||
/// The color depth of the current project, either 8, 16, or 32 bits.
|
||
/// </summary>
|
||
[JsonProperty("bitsPerChannel")]
|
||
public int BitsPerChannel { get; set; }
|
||
|
||
/// <summary>
|
||
/// True if Compensate for Scene-referred Profiles should be enabled for this project; otherwise
|
||
/// false.
|
||
/// </summary>
|
||
[JsonProperty("compensateForSceneReferredProfiles")]
|
||
public bool CompensateForSceneReferredProfiles { get; set; }
|
||
|
||
/// <summary>
|
||
/// An alternate way of setting the Frame Count menu setting in the Project Settings dialog box to 0
|
||
/// or 1, and is equivalent to using the FramesCountType.FC_START_0 or FramesCountType.FC_START_1
|
||
/// enumerated values for the framesCountType.
|
||
/// </summary>
|
||
[JsonProperty("displayStartFrame")]
|
||
public int DisplayStartFrame { get; set; }
|
||
|
||
/// <summary>
|
||
/// The Expressions Engine setting in the Project Settings dialog box, as a string. One of:
|
||
/// </summary>
|
||
[JsonProperty("expressionEngine")]
|
||
public string ExpressionEngine { get; set; }
|
||
|
||
/// <summary>
|
||
/// The Use Feet + Frames menu setting in the Project Settings dialog box. Use this attribute instead
|
||
/// of the old timecodeFilmType attribute.
|
||
/// </summary>
|
||
[JsonProperty("feetFramesFilmType")]
|
||
public int FeetFramesFilmType { get; set; }
|
||
|
||
/// <summary>
|
||
/// The ExtendScript File object for the file containing the project that is currently open.
|
||
/// </summary>
|
||
[JsonProperty("file")]
|
||
public string File { get; private set; }
|
||
|
||
/// <summary>
|
||
/// The Footage Start Time setting in the Project Settings dialog box, which is enabled when Timecode
|
||
/// is selected as the time display style.
|
||
/// </summary>
|
||
[JsonProperty("footageTimecodeDisplayStartType")]
|
||
public int FootageTimecodeDisplayStartType { get; set; }
|
||
|
||
/// <summary>
|
||
/// The Frame Count menu setting in the Project Settings dialog box.
|
||
/// </summary>
|
||
[JsonProperty("framesCountType")]
|
||
public int FramesCountType { get; set; }
|
||
|
||
/// <summary>
|
||
/// The Use Feet + Frames setting in the Project Settings dialog box. True if using Feet + Frames;
|
||
/// false if using Frames.
|
||
/// </summary>
|
||
[JsonProperty("framesUseFeetFrames")]
|
||
public bool FramesUseFeetFrames { get; set; }
|
||
|
||
/// <summary>
|
||
/// Get or set the current projects GPU Acceleration option.see app.availableGPUAccelTypes
|
||
/// </summary>
|
||
[JsonProperty("gpuAccelType")]
|
||
public int GpuAccelType { get; set; }
|
||
|
||
/// <summary>
|
||
/// All of the items in the project.
|
||
/// </summary>
|
||
[JsonProperty("items")]
|
||
public int[] ItemIds { get; private set; }
|
||
|
||
/// <summary>
|
||
/// True if linear blending should be used for this project; otherwise false.
|
||
/// </summary>
|
||
[JsonProperty("linearBlending")]
|
||
public bool LinearBlending { get; set; }
|
||
|
||
/// <summary>
|
||
/// True if Linearize Working Space should be enabled for this project; otherwise false.
|
||
/// </summary>
|
||
[JsonProperty("linearizeWorkingSpace")]
|
||
public bool LinearizeWorkingSpace { get; set; }
|
||
|
||
/// <summary>
|
||
/// The total number of items contained in the project, including folders and all types of footage.
|
||
/// </summary>
|
||
[JsonProperty("numItems")]
|
||
public int NumItems { get; private set; }
|
||
|
||
/// <summary>
|
||
/// The renderqueue of the project.
|
||
/// </summary>
|
||
[JsonProperty("renderQueue")]
|
||
public RenderQueue RenderQueue { get; private set; }
|
||
|
||
/// <summary>
|
||
/// The root folder containing the contents of the project; this is a virtual folder that contains all
|
||
/// items in the Project panel, but not items contained inside other folders in the Project panel.
|
||
/// </summary>
|
||
[JsonProperty("rootFolder")]
|
||
public int RootFolderId { get; private set; }
|
||
|
||
/// <summary>
|
||
/// All items selected in the Project panel, in the sort order shown in the Project panel.
|
||
/// </summary>
|
||
[JsonProperty("selection")]
|
||
public int[] SelectedItemIds { get; private set; }
|
||
|
||
/// <summary>
|
||
/// The time display style, corresponding to the Time Display Style section in the Project Settings
|
||
/// dialog box.
|
||
/// </summary>
|
||
[JsonProperty("timeDisplayType")]
|
||
public int TimeDisplayType { get; set; }
|
||
|
||
/// <summary>
|
||
/// Get and sets the active tool in the Tools panel.
|
||
/// </summary>
|
||
[JsonProperty("toolType")]
|
||
public int ToolType { get; set; }
|
||
|
||
/// <summary>
|
||
/// When true, thumbnail views use the transparency checkerboard pattern.
|
||
/// </summary>
|
||
[JsonProperty("transparencyGridThumbnails")]
|
||
public bool TransparencyGridThumbnails { get; set; }
|
||
|
||
/// <summary>
|
||
/// The current project’s working gamma value, either 2.2 or 2.4. Setting values other than 2.2 or 2.4
|
||
/// will cause a scripting error. Note that when the project’s color working space is set, the working
|
||
/// gamma value is ignored by After Effects.
|
||
/// </summary>
|
||
[JsonProperty("workingGamma")]
|
||
public int WorkingGamma { get; set; }
|
||
|
||
/// <summary>
|
||
/// A string which is the color profile description for the project’s color working space. To set the
|
||
/// working space to None, set workingSpace to an empty string.
|
||
/// </summary>
|
||
[JsonProperty("workingSpace")]
|
||
public string WorkingSpace { get; set; }
|
||
|
||
/// <summary>
|
||
/// The project’s XMP metadata, stored as RDF (XML-based). For more information on XMP, see the
|
||
/// JavaScript Tools Guide.
|
||
/// </summary>
|
||
[JsonProperty("xmpPacket")]
|
||
public string XmpPacket { get; set; }
|
||
|
||
public override string ToString()
|
||
{
|
||
return base.ToString();
|
||
}
|
||
}
|
||
}
|