Package bpy :: Module types :: Class Property
[hide private]
[frames] | no frames]

Class Property


The Property Definition Object

RNA property definition.

References

Instance Variables [hide private]
string (readonly) description
Description of the property for tooltips.
boolean (readonly) editable
Property is editable through RNA.
string (readonly) identifier
Unique name used in the code and scripting.
string (readonly) name
Human readable name.
boolean (readonly) registered
Property is registerd as part of type registration.
boolean (readonly) registered_optional
Property is optionally registerd as part of type registration.
Struct (readonly) srna
Struct definition used for properties assigned to this item.
enum (readonly) subtype
Semantic interpretation of the property.
enum (readonly) type
Data type of the property.
enum (readonly) unit
Type of units for this property.
boolean (readonly) use_return
True when this property is a return value from an rna function..
Instance Variable Details [hide private]

description

Description of the property for tooltips. (maximum length of 0)
Type:
string (readonly)

identifier

Unique name used in the code and scripting. (maximum length of 0)
Type:
string (readonly)

name

Human readable name. (maximum length of 0)
Type:
string (readonly)

subtype

Semantic interpretation of the property. in...
  • NONE
  • FILE_PATH
  • DIRECTORY_PATH
  • UNSIGNED
  • PERCENTAGE
  • FACTOR
  • ANGLE
  • TIME
  • DISTANCE
  • COLOR
  • TRANSLATION
  • DIRECTION
  • MATRIX
  • EULER
  • QUATERNION
  • XYZ
  • COLOR_GAMMA
  • LAYER
  • LAYER_MEMBERSHIP
Type:
enum (readonly)

type

Data type of the property. in...
  • BOOLEAN
  • INT
  • FLOAT
  • STRING
  • ENUM
  • POINTER
  • COLLECTION
Type:
enum (readonly)

unit

Type of units for this property. in...
  • NONE
  • LENGTH
  • AREA
  • VOLUME
  • ROTATION
  • TIME
  • VELOCITY
  • ACCELERATION
Type:
enum (readonly)