SceneWindow Methods
Installed With: Full Development System
View the class hierarchy.
Method | Description |
---|---|
AutoFocus | Positions the camera to view all 3D scene objects. Use this method to automatically focus and render the scene in an exterior window. Details |
Pick | Creates a ray that originates at the specified point and returns an array of node paths for objects that intersect that ray. Details |
Projection:Frustum | Sets coordinates to render the scene in a frustum-shaped view. This projection causes objects farther from the camera to appear smaller. Details |
Projection:Orthographic | Sets coordinates to render the scene in a box-shaped view. The distance of the camera from the objects does not affect the size of the objects in this view. Details |
Projection:Perspective | Sets coordinates to render the scene in a frustum-shaped view, where you specify an angle for the horizontal and vertical viewing fields. This projection causes objects closer to the camera to appear larger in size. This method is similar to the Projection:Frustum method. Details |
Redraw | Redraws the 3D scene in the scene window. Details |
Render to Image | Returns an image of the scene. Details |
Setup Camera | Specifies the position of the camera relative to the scene. Details |
WindowToObjectCoords | Converts a point in window coordinates to points in object coordinates on the near and far clip planes. Details |