WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

ViewVector

is an option for Graphics3D and related functions which specifies the position and direction of a simulated camera used to view three-dimensional objects.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Neat Examples  
See Also
Tech Notes
Related Guides
History
Cite this Page

ViewVector

is an option for Graphics3D and related functions which specifies the position and direction of a simulated camera used to view three-dimensional objects.

Details

  • With the default setting ViewVector->Automatic , the position and direction of the simulated camera is determined by the settings for ViewPoint and ViewCenter .
  • ViewVector->{x,y,z} specifies that the camera should be at the position with coordinates {x,y,z}, aimed in the direction specified by ViewCenter .
  • ViewVector->{{x,y,z},{tx,ty,tz}} specifies that the camera should be aimed in the direction of the point {tx,ty,tz}.
  • Scaled coordinates can be used.
  • How much the simulated camera sees is determined by settings for ViewAngle and ViewRange .
  • Explicit settings for ViewVector override settings for ViewPoint and settings for ViewCenter of the form ViewCenter->{x,y,z}.
  • Explicit settings for ViewMatrix override settings for ViewVector .

Examples

open all close all

Basic Examples  (1)

Specify the view vectors using ordinary coordinates:

Neat Examples  (1)

Camera path following a particular parametric curve:

Parametric plot of the camera path:

Tech Notes

Wolfram Research (2007), ViewVector, Wolfram Language function, https://reference.wolfram.com/language/ref/ViewVector.html.

Text

Wolfram Research (2007), ViewVector, Wolfram Language function, https://reference.wolfram.com/language/ref/ViewVector.html.

CMS

Wolfram Language. 2007. "ViewVector." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ViewVector.html.

APA

Wolfram Language. (2007). ViewVector. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ViewVector.html

BibTeX

@misc{reference.wolfram_2025_viewvector, author="Wolfram Research", title="{ViewVector}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ViewVector.html}", note=[Accessed: 24-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_viewvector, organization={Wolfram Research}, title={ViewVector}, year={2007}, url={https://reference.wolfram.com/language/ref/ViewVector.html}, note=[Accessed: 24-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /