Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.17 KB

Set_the_View.md

File metadata and controls

23 lines (16 loc) · 1.17 KB

Set the View - [source code]

Use this component to set the camera location and direction for the Rhino "Perspective" viewport. Here is the video that shows how it works: http://www.youtube.com/watch?v=7Mmhz867zY8

Inputs

  • cameraLocation [Required]

A point representing the location of the viewport camera.

  • cameraDirection [Required]

A vector that represents the direction that the viewport camera should face.

  • uvLookAround [Optional]

Optional UV coordinates to tilt the viewport camera off from from the input _cameraDirection. Values for UV coordinates must be between -1 and 1 and these correspond to a tilt of 180 degrees in either direction. It is recommended that you use a Grasshopper sliderMD comonent for input.

  • lensLength [Optional]

An optional float number that sets the lens length of the viewport camera.

Outputs

[Check Hydra Example Files for Set the View](https://hydrashare.github.io/hydra/index.html?keywords=Ladybug_Set the View)