USkeletalMeshLODSettings

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMeshLODSettings.h

Include

#include "Engine/SkeletalMeshLODSettings.h"

Syntax

class USkeletalMeshLODSettings : public UDataAsset

Variables

Name Description

Protected variable

FPerPlatformBoo...

 

bSupportLODStreaming

Whether meshes in this group stream LODs by default

Protected variable

FPerPlatformBoo...

 

DisableBelowMinLodStripping

When true LODs below MinLod will not be stripped during cook.

Protected variable

TArray< FSkelet...

 

LODGroups

Protected variable

FPerPlatformInt

 

MaxNumOptionalLODs

Default maximum number of optional LODs for meshes in this group (currently, need to be either 0 or > num of LODs below MinLod)

Protected variable

FPerPlatformInt

 

MaxNumStreamedLODs

Default maximum number of streamed LODs for meshes in this group

Protected variable

FPerPlatformInt

 

MinLod

Minimum LOD to render.

Constructors

Name Description

Public function

USkeletalMeshLODSettings

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

int32

 

GetNumberOfSettings()

Returns the number of settings parsed from the ini file

Public function Const

const FSkele...

 

GetSettingsForLODLevel

(
    const int32 LODIndex
)

Retrieves the Skeletal mesh LOD group settings for the given name

Public function Const

const bool

 

HasValidSettings()

Returns whether or not valid settings were retrieved from the ini file

Public function

int32

 

SetLODSettingsFromMesh

(
    USkeletalMesh* InMesh
)

Set this LOD Settings from InMesh->LODInfo return # of settings that are set. Return N for 0-(N-1).

Public function Const

int32

 

SetLODSettingsToMesh

(
    USkeletalMesh* InMesh
)

Set InMesh->LODInfo with this LOD Settings return # of settings that are set. Return N for 0-(N-1).

Public function Const

bool

 

SetLODSettingsToMesh

(
    USkeletalMesh* InMesh,
    int32 LODIndex
)

Set InMesh->LODInfo with this LOD Settings for LODIndex return true if succeed

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss