Click or drag to resize
Ab4d.SharpEngine logo

SceneViewPoints3DTo2D Method

Overload List
 NameDescription
Public methodPoints3DTo2D(Span, Void, Vector3, Span, Void) 
Public methodPoints3DTo2D(Vector3, Vector2, Transform, Boolean, Boolean) Points3DTo2D calculates 2D screen positions from the specified 3D positions. To calculate the 2D positions for the final UI element, set the adjustByDpiScale to true otherwise the 2D positions will be positioned inside the view defined by SceneView's Width and Height. Calculated 2D positions are stored into the specified points2D array (its size must be at least the size of the 3D positions).
Public methodPoints3DTo2D(Span, Void, Vector3, Span, Void, Vector2, Camera, Single) 
Public methodPoints3DTo2D(Vector3, Vector2, Camera, Single, Single, Transform, Boolean, Boolean) Points3DTo2D calculates 2D positions from the specified 3D positions. Calculated 2D positions are stored into the specified points2D array (its size must be at least the size of the 3D positions).
Top
See Also