Type Alias: AxisBoxConfig
AxisBoxConfig:
object
Configuration of AxisViewTool.
Type declaration
animationSpeed?
optionalanimationSpeed:number
How long the camera animation lasts when clicking a face of the orientation box.
compass?
optionalcompass:AxisBoxCompassConfig
Configuration of the compass "base" of the tool.
faces?
optionalfaces:object
Configuration for each of the faces of the orientation box. Note that Reveal uses a right-handed Y up coordinate system, which might differ from the original model space. To account for this, you might want to reassign labels of the faces.
faces.xNegativeFace?
optionalxNegativeFace:AxisBoxFaceConfig
faces.xPositiveFace?
optionalxPositiveFace:AxisBoxFaceConfig
faces.yNegativeFace?
optionalyNegativeFace:AxisBoxFaceConfig
faces.yPositiveFace?
optionalyPositiveFace:AxisBoxFaceConfig
faces.zNegativeFace?
optionalzNegativeFace:AxisBoxFaceConfig
faces.zPositiveFace?
optionalzPositiveFace:AxisBoxFaceConfig
position?
optionalposition:AbsolutePosition|RelativePosition
Position, either absolute or relative.
size?
optionalsize:number
Size in pixels of the axis tool.