FSkeletalMeshLODRenderData

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Rendering/SkeletalMeshLODRenderData.h

Include

#include "Rendering/SkeletalMeshLODRenderData.h"

Syntax

class FSkeletalMeshLODRenderData

Variables

Name Description

Public variable

TArray< FBoneIn...

 

ActiveBoneIndices

Public variable

FMultiSizeIndex...

 

AdjacencyMultiSizeIndexContainer

Resources needed to render the model using PN-AEN

Public variable

FSkeletalMeshVe...

 

ClothVertexBuffer

A buffer for cloth mesh-mesh mapping

Public variable

FMorphTargetVer...

 

MorphTargetVertexInfoBuffers

GPU friendly access data for MorphTargets for an LOD

Public variable

FMultiSizeIndex...

 

MultiSizeIndexContainer

Index Buffer (MultiSize: 16bit or 32bit)

Public variable

TArray< FSkelMe...

 

RenderSections

Info about each section of this LOD for rendering

Public variable

TArray< FBoneIn...

 

RequiredBones

Public variable

FSkinWeightProf...

 

SkinWeightProfilesData

Skin weight profile data structures, can contain multiple profiles and their runtime FSkinWeightVertexBuffer

Public variable

FSkinWeightVert...

 

SkinWeightVertexBuffer

Skin weights for skinning

Public variable

FStaticMeshVert...

 

StaticVertexBuffers

Static vertices from chunks for skinning on GPU

Constructors

Name Description

Public function

FSkeletalMeshLODRenderData()

Constructor (default)

Functions

Name Description

Public function

void

 

BuildFromLODModel

(
    const FSkeletalMeshLODModel* L...,
    uint32 BuildFlags
)

Initialize render data (e.g. vertex buffers) from model info

Public function Const

bool

 

DoesVertexBufferHaveExtraBoneInfluences()

Public function Const

uint32

 

FindSectionIndex

(
    const FSkelMeshRenderSection& Sect...
)

O(1)

Public function Const

uint32

 

GetNumTexCoords()

Public function Const

uint32

 

GetNumVertices()

Public function Const

void

 

GetResourceSizeEx

(
    FResourceSizeEx& CumulativeResourc...
)

Get Resource Size

Public function Const

void

 

GetSectionFromVertexIndex

(
    int32 InVertIndex,
    int32& OutSectionIndex,
    int32& OutVertIndex
)

Utility for finding the section that a particular vertex is in.

Public function Const

const FSkinW...

 

GetSkinWeightVertexBuffer()

Checks whether or not the skin weight buffer has been overridden 'by default' and if not return the original Skin Weight buffer

Public function

FSkinWeightV...

 

GetSkinWeightVertexBuffer()

Checks whether or not the skin weight buffer has been overridden 'by default' and if not return the original Skin Weight buffer

Public function Const

int32

 

GetTotalFaces()

Utility function for returning total number of faces in this LOD.

Public function Const

bool

 

HasClothData()

Public function

void

 

InitResources

(
    bool bNeedsVertexColors,
    int32 LODIndex,
    TArray< class UMorphTarget* > ...
)

Initialize the LOD's render resources.

Public function Const

int32

 

NumNonClothingSections()

Public function

void

 

ReleaseCPUResources()

Releases the LOD's CPU render resources.

Public function

void

 

ReleaseResources()

Releases the LOD's render resources.

Public function

void

 

Serialize

(
    FArchive& Ar,
    UObject* Owner,
    int32 Idx
)

Special serialize function passing the owning UObject along as required by FUnytpedBulkData serialization.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback