Name

kOfxParamPropDefault — The default value of a parameter.

Synopsis

#include "/ofxParam.h"
#define kOfxParamPropDefault "OfxParamPropDefault"

Type

The type is dependant on the parameter type as is the dimension.

Property Set

This is a property that belongs to the plugin parameter descriptor (read/write) and instance (read/write only),.

Default

The default value is 0 cast to the relevant type (or "" for strings and custom parameters).

Description

The default value of a parameter.

The exact type and dimension is dependant on the type of the parameter. These are....

  • kOfxParamTypeInteger - integer property of one dimension
  • kOfxParamTypeDouble - double property of one dimension
  • kOfxParamTypeBoolean - integer property of one dimension
  • kOfxParamTypeChoice - integer property of one dimension
  • kOfxParamTypeRGBA - double property of four dimensions
  • kOfxParamTypeRGB - double property of three dimensions
  • kOfxParamTypeDouble2D - double property of two dimensions
  • kOfxParamTypeInteger2D - integer property of two dimensions
  • kOfxParamTypeDouble3D - double property of three dimensions
  • kOfxParamTypeInteger3D - integer property of three dimensions
  • kOfxParamTypeString - string property of one dimension
  • kOfxParamTypeCustom - string property of one dimension
  • kOfxParamTypeGroup - does not have this property
  • kOfxParamTypePage - does not have this property
  • kOfxParamTypePushButton - does not have this property