KitchenDraw SDK 2
Show / Hide Table of Contents

Method SetObserverFromObjects

SetObserverFromObjects(IEnumerable<Object>, int, int, int)

Sets observer position so that the specified objects are visible. The first object in the objects affects the initial view direction for the observer. Then the observer is placed so that all of the objects are visible, and then hAngle and vAngle parameters are applied to rotate the observer. All the angles are expected to be in degrees.

Declaration
public void SetObserverFromObjects(IEnumerable<Scene.Object> objects, int hAngle, int vAngle, int angleOfView)
Parameters
Type Name Description
IEnumerable<Scene.Object> objects
int hAngle
int vAngle
int angleOfView
In this article
Back to top Generated by DocFX