Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/RNA_types.h
| Context not available. | |||||
| PROP_UNIT_ACCELERATION = (8 << 16), /* m/(s^2) */ | PROP_UNIT_ACCELERATION = (8 << 16), /* m/(s^2) */ | ||||
| PROP_UNIT_CAMERA = (9 << 16), /* mm */ | PROP_UNIT_CAMERA = (9 << 16), /* mm */ | ||||
| PROP_UNIT_POWER = (10 << 16), /* W */ | PROP_UNIT_POWER = (10 << 16), /* W */ | ||||
| PROP_UNIT_TEMPERATURE = (11 << 16), /* °C / °F */ | |||||
| } PropertyUnit; | } PropertyUnit; | ||||
| #define RNA_SUBTYPE_UNIT(subtype) ((subtype) & 0x00FF0000) | #define RNA_SUBTYPE_UNIT(subtype) ((subtype) & 0x00FF0000) | ||||
| Context not available. | |||||
| /* light */ | /* light */ | ||||
| PROP_POWER = 42 | PROP_UNIT_POWER, | PROP_POWER = 42 | PROP_UNIT_POWER, | ||||
| /* temperature */ | |||||
| PROP_TEMPERATURE = 43 | PROP_UNIT_TEMPERATURE, | |||||
| } PropertySubType; | } PropertySubType; | ||||
| /* Make sure enums are updated with these */ | /* Make sure enums are updated with these */ | ||||
| Context not available. | |||||