Transformation¶
文档版本:1.21.50.25
Supports rotation, scaling, and translation
架构¶
transformation:
{
array "rotation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "scale" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "translation" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "scale_pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
array "rotation_pivot" : opt
{
number "0..0" : opt
number "1..1" : opt
number "2..2" : opt
}
}
rotation
:array- Amount in degrees the block should be rotated on each axis. "rotation" is specified as [x, y, z] using floating point values and must be axis aligned, otherwise the value will be rounded to the nearest axis-aligned value.
rotation
0..0
:number
1..1
:number
2..2
:number
scale
:array- Amount the block should be scaled along each axis. "scale" is specified as [x, y, z] using floating point values.
scale
0..0
:number
1..1
:number
2..2
:number
translation
:array- Amount the block should be translated along each axis. "translation" is specified as [x, y, z] using floating point values.
translation
0..0
:number
1..1
:number
2..2
:number
scale_pivot
:array- Offset to the pivot point around which to apply the scale. "scale_pivot" is specified as [x, y, z] using floating point values.
scale_pivot
0..0
:number
1..1
:number
2..2
:number
rotation_pivot
:array- Offset to the pivot point around which to apply the rotation. "rotation_pivot" is specified as [x, y, z] using floating point values.
rotation_pivot
0..0
:number
1..1
:number
2..2
:number