Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Model.h |
Include |
#include "Model.h" |
class UModel : public UObject
Name | Description | ||
---|---|---|---|
|
bCachedOwnerTransformValid |
Specifies whether the above cached transform is valid |
|
|
bInvalidForStaticLighting |
True if static lighting now can not be validly built for this model |
|
|
bOnlyRebuildMaterialIndexBuffers |
True if only the material index buffers should be rebuilt when committing model surfaces |
|
|
Bounds |
||
|
CachedMappings |
Cache the mappings that are going to be calculated during lighting (we delay applying to join mappings into bigger lightmaps) |
|
|
InvalidSurfaces |
True if surfaces in the model have been changed without calling ULevel::CommitModelSurfaces. |
|
|
LeafHulls |
||
|
Leaves |
||
|
LightingGuid |
Unique ID for this model, used for caching during distributed lighting |
|
|
ULevel * |
LightingLevel |
The level used to generate NodeGroups |
|
LightmassSettings |
||
|
Linked |
||
|
MaterialIndexBuffers |
An index buffer for each material used by the model, containing all the nodes with that material applied. |
|
|
NodeGroups |
A map of NodeGroup ID to the NodeGroup object |
|
|
Nodes |
||
|
NumIncompleteNodeGroups |
How many node groups still need to be completed before we start joining by brightness, etc |
|
|
NumSharedSides |
||
|
NumUniqueVertices |
The number of unique vertices. |
|
|
OwnerLocationWhenLastBuilt |
Cached transform of the owner brush when the geometry was last built |
|
|
OwnerRotationWhenLastBuilt |
||
|
OwnerScaleWhenLastBuilt |
||
|
Points |
||
|
UPolys * |
Polys |
Arrays and subobjects. |
|
ReleaseResourcesFence |
A fence which is used to keep track of the rendering thread releasing the model resources. |
|
|
RootOutside |
Other variables. |
|
|
Surfs |
||
|
Vectors |
||
|
VertexBuffer |
A vertex buffer containing the vertices for all nodes in the UModel. |
|
|
Verts |
Name | Description | |
---|---|---|
|
UModel ( |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes. |
|
UModel ( |
Constructors. |
Name | Description | ||
---|---|---|---|
|
__DefaultConstructor ( |
||
|
UObject *... |
__VTableCtorCaller ( |
|
|
AddReferencedObjects ( |
||
|
ApplyStaticLighting ( |
Applies all of the finished lighting cached in the NodeGroups |
|
|
ApplyWorldOffset |
Apply world origin changes |
|
|
BeginReleaseResources() |
Begins releasing the model's resources. |
|
|
BuildBound() |
Build the model's bounds (min and max). |
|
|
BuildVertexBuffers() |
Initialize vertex buffer data from UModel data Returns the number of vertices in the vertex buffer. |
|
|
CalculateUniqueVertCount() |
||
|
ClearLocalMaterialIndexBuffersData() |
Clears local (non RHI) data associated with MaterialIndexBuffers |
|
|
EmptyModel |
||
|
ABrush * |
FindBrush ( |
Find the source brush actor associated with this point, or NULL if the point does not lie on a BSP surface. |
|
float |
FindNearestVertex |
|
|
GetCenter() |
Compute the "center" location of all the verts |
|
|
float |
GetGlobalBSPTexelScale() |
|
|
GetNodeBoundingBox |
Creates a bounding box for the passed in node |
|
|
GetSurfacePlanes |
||
|
GroupAllNodes ( |
Groups all nodes in the model into NodeGroups (cached in the NodeGroups object) |
|
|
HasSelectedSurfaces() |
||
|
Initialize |
||
|
Initialize() |
||
|
ModifyAllSurfs ( |
||
|
ModifySelectedSurfs ( |
UModel transactions. |
|
|
ModifySurf |
||
|
PrecomputeSphereFilter ( |
||
|
SetGlobalBSPTexelScale ( |
Sets the global texel scale used for BSP UV's |
|
|
ShrinkModel() |
Shrink all stuff to its minimum size. |
|
|
UClass * |
StaticClass() |
Returns a UClass object representing this class at runtime |
|
EClassCastFl... |
StaticClassCastFlags() |
Returns the static cast flags for this class |
|
const TCHAR ... |
StaticPackage() |
Returns the package this class belongs in |
|
StaticRegisterNativesUModel() |
||
|
Transform ( |
Transform this model by its coordinate system. |
|
|
UpdateVertices() |
Begins initializing the model's VertexBuffer. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
GetResourceSizeEx ( |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |
|
|
IsAsset() |
Returns true if this object is considered an asset. |
|
|
IsReadyForFinishDestroy() |
Called to check if the object is ready for FinishDestroy. |
|
|
Modify ( |
That the object will be modified. |
|
|
PostDuplicate ( |
Called after duplication & serialization and before PostLoad. |
|
|
PostEditUndo() |
Called after applying a transaction to the object. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Rename ( |
Rename this object to a unique name, or change its outer. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name | Description | ||
---|---|---|---|
|
operator delete ( |
Eliminate V1062 warning from PVS-Studio while keeping MSVC and Clang happy. |
|
|
void * |
operator new ( |
For internal use only; use StaticConstructObject() to create new objects. |
|
void * |
operator new ( |
For internal use only; use StaticConstructObject() to create new objects. |
Name |
Description |
---|---|
BSPTexelScale |
|
StaticClassFlags |
Bitwise union of EClassFlags pertaining to this class. |