ILNumerics Ultimate VS

Tripod Constructor (Object, TripodStyle, CameraQuadrant, Single)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Create a new tripod to be added to a camera

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public Tripod(
	Object tag = null,
	TripodStyle style = TripodStyle.Tripod3D,
	CameraQuadrant location = CameraQuadrant.BottomLeftFront,
	float size = 0,3333f
)

Parameters

tag (Optional)
Type: SystemObject
[Optional] Tag used to identify the tripod object in a scene.
style (Optional)
Type: ILNumerics.DrawingTripodStyle
[Optional] The tripod style. Default: TripodStyle.Tripod3D
location (Optional)
Type: ILNumerics.DrawingCameraQuadrant
[Optional] Determines where to place the tripod. One of the 8 quadrants from the CameraQuadrant enumeration. Default: BottomLeftFront
size (Optional)
Type: SystemSingle
[Optional] the size in relative viewport units occupied by the tripod. Default: 1/3
Remarks

This constructor creates a new tripod object which is ready to be added to any camera in the scene. It will follow its rotation then.

The style parameter determines the visual style for the tripod. Available styles are: Simple - a tripod which is made out of 3 lines as X,Y and Z axis and 3 corresponding labels; 'Tripod3D' renders a tripod which shows individually colored 3D arrows for the X, Y and Z axis along with the labels X, Y and Z. 'Empty' allows one to use Tripod as starting point for own custom tripod implementations. No content for the axes will be added but the tripod group will keep its functionality: Any content which is manually added will be rotated according to the parent camera transformation.

The location parameter places the tripod in any of the 8 quadrants of the scene: top/bottom/right/left. The third dimension is back/front: front will make the tripod to always stay on top of the main content. 'Back' will embed the tripod into the scene and allow the scene content to hide the tripod.

The size of the tripod will be specified by the size parameter. It computes the area the tripod is using from the corresponding camera viewport. A value of 1 would occupy the whole viewport. Default is one third.

It is possible to give the tripod a custom location and size by configuring the ScreenRect parameter for the tripod. This gives full flexibility on where to place the tripod and its size. Keep in mind, tripods are derived from Camera, hence provide the full set of configuration options a regular camera brings.

[ILNumerics Visualization Engine]

See Also

Reference