Used for operations concerning the radiosity attributes pertaining to each individual object.
xshade |
↑ |
shape |
↑ |
radiosity_attributes |
cast_shadow | Whether or not to cast shadows when doing the radiosity calculation |
doublesided | Whether or not to calculate both sides when doing the radiosity calculation |
receiver | Whether or not to receive light when doing the radiosity calculation |
shooter | Whether or not to radiate light when doing the radiosity calculation |
Used after getting an object with a method such as xshade.scene().active_shape().
cast_shadow
Whether or not to cast shadows when doing the radiosity calculation.
Type :
int :
-1 | Inherit (default) |
0 | No shadows |
1 | Cast shadows |
If set to Inherit, the settings of the above part are enabled.
print xshade.scene().active_shape().radiosity_attributes.cast_shadow
doublesided
Whether or not to calculate both sides when doing the radiosity calculation.
Type :
int :
-1 | Inherit (default) |
0 | Do not calculate |
1 | Calculate |
If set to Inherit, the settings of the above part are enabled.
print xshade.scene().active_shape().radiosity_attributes.doublesided
receiver
Whether or not to receive light when doing the radiosity calculation.
Type :
int :
-1 | Inherit (default) |
0 | Do not receive light |
1 | Receive light |
If set to Inherit, the settings of the above part are enabled.
print xshade.scene().active_shape().radiosity_attributes.receiver
shooter
Whether or not to radiate light when doing the radiosity calculation.
Type :
int :
-1 | Inherit (default) |
0 | Do not radiate light |
1 | Radiate light |
If set to Inherit, the settings of the above part are enabled.
print xshade.scene().active_shape().radiosity_attributes.shooter