| IMediaOptions::FDataContainer | ||
| FTickableGameObject
|
Module |
|
Header |
/Engine/Plugins/Media/ImgMedia/Source/ImgMedia/Public/ImgMediaMipMapInfo.h |
Include |
#include "ImgMediaMipMapInfo.h" |
class FImgMediaMipMapInfo :
public IMediaOptions::FDataContainer,
public FTickableGameObject
Contains information for working with mip maps.
Name | Description | ||
---|---|---|---|
|
bIsCachedMipLevelValid |
True if the cached mipmap data has been calculated this frame. |
|
|
bIsMipLevel0DistanceSetManually |
True if MipLevel0Distance has been set manually. |
|
|
CachedMipLevel |
Desired mipmap level at this current time. |
|
|
CachedTileSelection |
Desired tiles at this current tmie. |
|
|
CameraInfos |
Info for each camera, used in mipmap calculations. |
|
|
InfoCriticalSection |
Protects info variables. |
|
|
float |
MipLevel0Distance |
Ideal distance for mip level 0. |
|
TArray< float > |
MipLevelDistances |
Ideal distances for all mip maps. |
|
Objects |
Array of objects that are using our img sequence. |
|
|
SequenceName |
Name of this sequence. |
|
|
float |
ViewportDistAdjust |
Adjustment for current size of viewport, used in mipmap calculations. |
Name | Description | |
---|---|---|
|
FImgMediaMipMapInfo() |
Name | Description | |
---|---|---|
|
~FImgMediaMipMapInfo() |
Name | Description | ||
---|---|---|---|
|
AddObject ( |
This object is using our img sequence. |
|
|
AddObjectsUsingThisMediaTexture ( |
All the objets that are using this media texture will be used in our mip map calculations. |
|
|
ClearAllObjects() |
Remove all objects from consideration. |
|
|
const TArray... |
GetCameraInfo() |
Get information on all our cameras. |
|
GetDesiredMipLevel ( |
Get what mipmap level should be used. |
|
|
const TArray... |
GetMipLevelDistances() |
Get our mip level distances. |
|
int |
GetMipLevelForDistance ( |
Determine which mip level to use for a given distance. |
|
float |
GetObjectDistToCamera |
Calculate object distance to camera. |
|
const TArray... |
GetObjects() |
Get information on objects that are using our textures. |
|
float |
GetObjectWidth ( |
Determine the size of an object. |
|
float |
GetViewportDistAdjust() |
Get adjustment needed for distance to take the viewport size into account compared to the reference viewport |
|
RemoveObject ( |
This object is no longer using our img sequence. |
|
|
SetMipLevelDistance ( |
Manually set when mip level 0 should appear. |
|
|
SetTextureInfo |
Provide information on the texture needed for our image sequence. |
|
|
UpdateMipLevelCache() |
Performs mipmap calculations and caches the data. |
|
|
UpdateMipLevelDistances() |
Updates the MipLevelDistances based on current information. |
Name | Description | ||
---|---|---|---|
|
GetStatId() |
Return the stat id to use for this tickable |
|
|
Tick ( |
Pure virtual that must be overloaded by the inheriting class. |