Click or drag to resize
SoViewingCubeedgeSize Property

Size of the edges, relative to the size of the faces.

Namespace: OIV.Inventor.ViewerComponents.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public SoSFFloat edgeSize { get; }

Property Value

Type: SoSFFloat
Remarks

The size of the corners are also adjusted according to this value. When the OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeSize is 0, neither edges nor corners of the viewing cube can be highlighted or selected. Thus the viewing cube allows to select only 6 predefined positions of the camera.

This field's value is clamped in a range [0-1]. OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeSize = 1 corresponds to 25% of the face's size. Default is 0.4.

Depending on the OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeStyle value, the OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeSize defines either a radius (for ROUND style) or a width.

Above is a viewing cube with OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeSize = 0

Below are images of a viewing cube with different OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeSize=0.1 on the left column and OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeSize=0.25 on the right column.

OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeStyle = CORNER
OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeStyle = ROUND
OIV.Inventor.ViewerComponents.Nodes.SoViewingCube.edgeStyle = FLAT

See Also