ProjectSphericalMap
Attribute Reference
General attributes
TRS_order
Int enum
0 = “Scale Rot Trans” (default)
1 = “Scale Trans Rot”
2 = “Rot Scale Trans”
3 = “Rot Trans Scale”
4 = “Trans Scale Rot”
5 = “Trans Rot Scale”
Order in which to apply transformations when 'projection_mode' is set to 'TRS'
projection_matrix
Mat4d
default: [ [ 1, 0, 0, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 1, 0 ], [ 0, 0, 0, 1 ] ]
The transform to use for projection when 'projection_mode' is set to 'projection_matrix'
projection_mode
Int enum
0 = “projector” (default)
1 = “projection_matrix”
2 = “TRS”
Source parameters to use for projection transform
projector
Node
default: None
The object whose transform to use for projection when 'projection_mode' is set to 'projector'
rotate
Vec3d
default: [ 0, 0, 0 ]
Rotation of the projection transform when 'projection_mode' is set to 'TRS'
rotation_order
Int enum
0 = “xyz” (default)
1 = “xzy”
2 = “yxz”
3 = “yzx”
4 = “zxy”
5 = “zyx”
Order in which to apply rotation transformations when 'projection_mode' is set to 'TRS'
scale
Vec3d
default: [ 1, 1, 1 ]
Scale of the projection transform when 'projection_mode' is set to 'TRS'
translate
Vec3d
default: [ 0, 0, 0 ]
Translation of the projection transform when 'projection_mode' is set to 'TRS'
use_reference_space
Bool
default: False
use reference space
![default does not match object](https://docs.openmoonray.org/assets/images/user-reference/scene-objects/maps/ProjectSphericalMap/noref.jpg)
![active, matching object without transforming](https://docs.openmoonray.org/assets/images/user-reference/scene-objects/maps/ProjectSphericalMap/ref.jpg)