Skip to content

Commit de9ce50

Browse files
committed
Fix missing sample invocations in comp.md
1 parent d52e000 commit de9ce50

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/objects/comp.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ These are typically accessed in a few ways, most commonly:
2323

2424
### Comp.activeCamera
2525

26+
`thisComp.activeCamera`
27+
2628
#### Description
2729

2830
Returns the [Camera object](./camera.md) for the camera through which the composition is rendered at the current frame.
@@ -37,6 +39,8 @@ This camera is not necessarily the camera through which you are looking in the C
3739

3840
### Comp.bgColor
3941

42+
`thisComp.bgColor`
43+
4044
#### Description
4145

4246
Returns the background color of the composition.
@@ -49,6 +53,8 @@ Array (4-dimensional)
4953

5054
### Comp.displayStartTime
5155

56+
`thisComp.displayStartTime`
57+
5258
#### Description
5359

5460
Returns the composition start time, in seconds.
@@ -61,6 +67,8 @@ Number
6167

6268
### Comp.duration
6369

70+
`thisComp.duration`
71+
6472
#### Description
6573

6674
Returns the composition duration, in seconds.
@@ -73,6 +81,8 @@ Number
7381

7482
### Comp.frameDuration
7583

84+
`thisComp.frameDuration`
85+
7686
#### Description
7787

7888
Returns the duration of a frame, in seconds.
@@ -85,6 +95,8 @@ Number
8595

8696
### Comp.height
8797

98+
`thisComp.height`
99+
88100
#### Description
89101

90102
Returns the composition height, in pixels.
@@ -97,6 +109,8 @@ Number
97109

98110
### Comp.marker
99111

112+
`thisComp.marker`
113+
100114
#### Description
101115

102116
Returns a given composition's [Marker](./marker-property.md) property.
@@ -114,6 +128,8 @@ Returns a given composition's [Marker](./marker-property.md) property.
114128

115129
### Comp.name
116130

131+
`thisComp.name`
132+
117133
#### Description
118134

119135
Returns the name of the composition.
@@ -126,6 +142,8 @@ String
126142

127143
### Comp.ntscDropFrame
128144

145+
`thisComp.ntscDropFrame`
146+
129147
!!! note
130148
This functionality was added in After Effects CS5.5
131149

@@ -141,6 +159,8 @@ Boolean
141159

142160
### Comp.numLayers
143161

162+
`thisComp.numLayers`
163+
144164
#### Description
145165

146166
Returns the number of layers in the composition.
@@ -153,6 +173,8 @@ Number
153173

154174
### Comp.pixelAspect
155175

176+
`thisComp.pixelAspect`
177+
156178
#### Description
157179

158180
Returns the pixel aspect ratio of the composition.
@@ -165,6 +187,8 @@ Number
165187

166188
### Comp.shutterAngle
167189

190+
`thisComp.shutterAngle`
191+
168192
#### Description
169193

170194
Returns the shutter-angle value of the composition, in degrees.
@@ -177,6 +201,8 @@ Number
177201

178202
### Comp.shutterPhase
179203

204+
`thisComp.shutterPhase`
205+
180206
#### Description
181207

182208
Returns the shutter phase of the composition, in degrees.
@@ -189,6 +215,8 @@ Number
189215

190216
### Comp.width
191217

218+
`thisComp.width`
219+
192220
#### Description
193221

194222
Returns the composition width, in pixels.

0 commit comments

Comments
 (0)