getRotation

abstract fun getRotation(block: DesignBlock): Float

Query a block's rotation in the scene's angle unit (radians by default, see SceneApi.setAngleUnit).

Return

the block's rotation around its center in the scene's angle unit (radians by default).

Parameters

block

the block to query.