Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FootageTypeName ¶
type FootageTypeName uint16
FootageTypeName denotes the type of footage of an AVItem (eg: Solid, Placeholder, ...)
const ( // FootageTypeSolid denotes a Solid source FootageTypeSolid FootageTypeName = 0x09 // FootageTypePlaceholder denotes a Placeholder source FootageTypePlaceholder FootageTypeName = 0x02 )
type Item ¶
type Item struct { Name string ID uint32 ItemType ItemTypeName FolderContents []*Item FootageDimensions [2]uint16 FootageFramerate float64 FootageSeconds float64 FootageType FootageTypeName BackgroundColor [3]byte CompositionLayers []*Layer }
Item is a generalized object storing information about folders, compositions, or footage
type ItemTypeName ¶
type ItemTypeName string
ItemTypeName denotes the type of item. See: http://docs.aenhancers.com/items/item/#item-ItemType
const ( // ItemTypeFolder denotes a Folder item which may contain additional items ItemTypeFolder ItemTypeName = "Folder" // ItemTypeComposition denotes a Composition item which has a dimension, length, framerate and child layers ItemTypeComposition ItemTypeName = "Composition" // ItemTypeFootage denotes an AVItem that has a source (eg: an image or video file) ItemTypeFootage ItemTypeName = "Footage" )
type Layer ¶
type Layer struct { Index uint32 Name string SourceID uint32 Quality LayerQualityLevel SamplingMode LayerSamplingMode FrameBlendMode LayerFrameBlendMode GuideEnabled bool SoloEnabled bool ThreeDEnabled bool AdjustmentLayerEnabled bool CollapseTransformEnabled bool ShyEnabled bool LockEnabled bool FrameBlendEnabled bool MotionBlurEnabled bool EffectsEnabled bool AudioEnabled bool VideoEnabled bool Effects []*Property Text *Property }
Layer describes a single layer in a composition.
type LayerFrameBlendMode ¶
type LayerFrameBlendMode byte
LayerFrameBlendMode denotes the frame blending mode of a layer (eg: Frame mix, Pixel motion)
const ( // LayerFrameBlendModeFrameMix enumerates the value of a layer with Frame Mix Frame Blending LayerFrameBlendModeFrameMix LayerFrameBlendMode = 0x00 // LayerFrameBlendModePixelMotion enumerates the value of a layer with Pixel Motion Frame Blending LayerFrameBlendModePixelMotion LayerFrameBlendMode = 0x01 )
type LayerQualityLevel ¶
type LayerQualityLevel uint16
LayerQualityLevel denotes the quality level of a layer (eg: Best, Draft, Wireframe)
const ( // LayerQualityBest enumerates the value of a layer with Best Quality LayerQualityBest LayerQualityLevel = 0x0002 // LayerQualityDraft enumerates the value of a layer with Draft Quality LayerQualityDraft LayerQualityLevel = 0x0001 // LayerQualityWireframe enumerates the value of a layer with Wireframe Quality LayerQualityWireframe LayerQualityLevel = 0x0000 )
type LayerSamplingMode ¶
type LayerSamplingMode byte
LayerSamplingMode denotes the sampling mode of a layer (eg: Bilinear, Bicubic)
const ( // LayerSamplingModeBilinear enumerates the value of a layer with Bilinear Sampling LayerSamplingModeBilinear LayerSamplingMode = 0x00 // LayerSamplingModeBicubic enumerates the value of a layer with Bicubic Sampling LayerSamplingModeBicubic LayerSamplingMode = 0x01 )
type Project ¶
Project holds information about an After Effects project file
func FromReader ¶
FromReader reads and creates a new project instance from an After Effects project file
type Property ¶
type Property struct { MatchName string Name string Label string Index uint32 PropertyType PropertyTypeName Properties []*Property SelectOptions []string }
Property describes a property object of a layer or nested property
type PropertyTypeName ¶
type PropertyTypeName uint16
PropertyTypeName enumerates the value/type of a property
const ( // PropertyTypeBoolean denotes a boolean checkbox property PropertyTypeBoolean PropertyTypeName = 0x04 // PropertyTypeOneD denotes a one-dimensional slider property PropertyTypeOneD PropertyTypeName = 0x02 // PropertyTypeTwoD denotes a two-dimensional point property PropertyTypeTwoD PropertyTypeName = 0x06 // PropertyTypeThreeD denotes a three-dimensional point property PropertyTypeThreeD PropertyTypeName = 0x12 // PropertyTypeColor denotes a four-dimensional color property PropertyTypeColor PropertyTypeName = 0x05 // PropertyTypeAngle denotes a one-dimensional angle property PropertyTypeAngle PropertyTypeName = 0x03 // PropertyTypeLayerSelect denotes a single-valued layer selection property PropertyTypeLayerSelect PropertyTypeName = 0x00 // PropertyTypeSelect denotes a single-valued selection property PropertyTypeSelect PropertyTypeName = 0x07 // PropertyTypeGroup denotes a collection/group property PropertyTypeGroup PropertyTypeName = 0x0d // PropertyTypeCustom denotes an unknown/custom property type (default) PropertyTypeCustom PropertyTypeName = 0x0f )
func (PropertyTypeName) String ¶
func (p PropertyTypeName) String() string
String translates a property type enumeration to string