| PFTrack Documentation | Python Macro API |
This is the class for manipulation camera presets as returned by PyClipInputNode.getCurrentCameraPreset(), i.e. the current camera preset for the clip.
string getName() - returns the camera preset name.
float getSensorWidth() - returns the sensor width in millimeters
void setSensorWidth(float) - sets the sensor width to the specified value in millimeters
float getSensorHeight() - returns the sensor in millimeters.
void setSensorHeight(float) - sets the sensor height to the specified value in millimeters
float getPixelAspect() - returns the pixel aspect ratio.
void setPixelAspect(float) - sets the pixel aspect ratio to the specified value.
float getFrameAspect() - returns the frame aspect ratio.
This is the class for accessing camera presets information as returned by PyClipInputNode.getCameraPresetInfo(), i.e. camera presets registered in the application. These camera presets are read-only.
string getName() - returns the camera preset name.
float getSensorWidth() - returns the sensor width in millimeters.
float getSensorHeight() - returns the sensor height in millimeters.
float getPixelAspect() - returns the pixel aspect ratio.
float getFrameAspect() - returns the frame aspect ratio.
int getCurrent() - returns whether the camera preset is currently selected for the input clip, where the value is 1=yes, 0=no.