-
Notifications
You must be signed in to change notification settings - Fork 6
Property Extension
Squareys edited this page Dec 19, 2015
·
1 revision
Custom properties of Blender objects can be exported as:
Extension (applic = "Blender", type = "Property")
{
string {"a_string"}
string {"Hello World"}
}
Extension (applic = "Blender", type = "Property")
{
string {"a_int"}
int32 {42}
}
Extension (applic = "Blender", type = "Property")
{
string {"a_float"}
float {3.14}
}
The "Property" extension structure contains exactly two primitives. The first representing the name of the property, the second its value. The types of the properties are exported as:
Blender/Python type | OpenGEX type |
---|---|
int | int32 |
float | float |
string | string |