Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Geometry
Maths
Network
Random
Streaming
Utilities

Adjusting the active or the specified viewport camera

Inputs

NameIDDescriptionType
LocationCameraOptional Camera LocationPoint
TargetTargetOptional Camera TargetPoint
LensLenseOptional Camera Lens Focal LengthNumber
UpUP-VectorOptional Camera's Up directionVector
PerspectiveProjectionPerspective Mode 0-> Parallel View 1-> Perspective View 2-> 2D-Perspective View(Optional) Integer
ViewViewViewport , If omitted,the active viewport will be taken(Optional) Integer
RefreshRefreshRefresh trigger for recalling the componentBoolean

Outputs

NameIDDescriptionType
CameraCCamera LocationPlane
TargetTCamera TargetPlane
LensLCamera Lens Focal LengthNumber
UpUCamera's Up directionVector
Horizontal View AngleHHorizontal lens angleNumber
Vertical View AngleVVertical lens angleNumber
Screen RatioRScreen Port's W/H AspectNumber
FrameFProjection frameRectangle

Video Tutorials

Site design © Robin Rodricks.   Co-created by Andrew Heumann.   Heteroptera and associated data © 2020 Amin Bahrami (Helioripple Studio).  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service