Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float ComputeBoundsScreenRadiusSquared
(
const FVector4& Origin, |
Computes the screen radius squared of a given sphere bounds in the given view. | SceneManagement.h | |
float ComputeBoundsScreenRadiusSquared
(
const FVector4& BoundsOrigin, |
Computes the screen radius squared of a given sphere bounds in the given view. | SceneManagement.h |
ComputeBoundsScreenRadiusSquared(const FVector4 &, const float, const FSceneView &)
Description
Computes the screen radius squared of a given sphere bounds in the given view. This is used at runtime instead of ComputeBoundsScreenSize to avoid a square root. It is a wrapper for the version below that does not take a FSceneView reference but parameters directly
| Name | ComputeBoundsScreenRadiusSquared |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include Path | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneManagement.cpp |
float ComputeBoundsScreenRadiusSquared
(
const FVector4 & Origin,
const float SphereRadius,
const FSceneView & View
)
float - The screen size calculated
Parameters
| Name | Remarks |
|---|---|
| Origin | Origin of the bounds in world space |
| SphereRadius | Radius of the sphere to use to calculate screen coverage |
| View | The view to calculate the display factor for |
ComputeBoundsScreenRadiusSquared(const FVector4 &, const float, const FVector4 &, const FMatrix &)
Description
Computes the screen radius squared of a given sphere bounds in the given view. This is used at runtime instead of ComputeBoundsScreenSize to avoid a square root.
| Name | ComputeBoundsScreenRadiusSquared |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneManagement.h |
| Include Path | #include "SceneManagement.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneManagement.cpp |
float ComputeBoundsScreenRadiusSquared
(
const FVector4 & BoundsOrigin,
const float SphereRadius,
const FVector4 & ViewOrigin,
const FMatrix & ProjMatrix
)
float - The screen size calculated
Parameters
| Name | Remarks |
|---|---|
| Origin | Origin of the bounds in world space |
| SphereRadius | Radius of the sphere to use to calculate screen coverage |
| ViewOrigin | The view origin involved in the calculation |
| ProjMatrix | The projection matrix of the view involved in the calculation |