|
BaseCameraGetScreenSize Method |
GetScreenSize calculates a size on screen (in same units as size of Viewport3D.Width - without DPI scale)
of a Size in 3D space (worldSize) that is at distanceFromCamera and shown with this camera and in TargetViewport3D.
Namespace: Ab3d.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public Size GetScreenSize(
Size worldSize,
Point3D targetPosition3D
)
Parameters
- worldSize Size
- Size in 3D space
- targetPosition3D Point3D
- Point3D of a target position - where the worldSize is positioned in the 3D world
Return Value
Sizesize on screen
See Also