Skip to content

Commit 3c0a962

Browse files
authored
Merge pull request #4 from stysmmaker/master
Add missing marker definitions
2 parents d4d5007 + c945f11 commit 3c0a962

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/index.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ export class MarkerKey {
9292
* Whether the marker represents a protected region
9393
*/
9494
readonly protectedRegion: boolean = false;
95+
/**
96+
* The location of the marker in time
97+
*/
98+
readonly time: number = 0;
99+
/**
100+
* The index of the marker
101+
*/
102+
readonly index: number = 1;
95103
}
96104

97105
export class MarkerProperty {
@@ -128,6 +136,10 @@ export class Comp {
128136
* The Camera object for the camera through which the composition is rendered at the current frame. This camera is not necessarily the camera through which you are looking in the Composition panel.
129137
*/
130138
readonly activeCamera: Camera = new Camera();
139+
/**
140+
* The marker property group object
141+
*/
142+
readonly marker?: MarkerProperty = new MarkerProperty();
131143
/**
132144
* The composition width in pixels
133145
*/

0 commit comments

Comments
 (0)