USubDSurfaceComponent

Inheritance Hierarchy

Syntax

class USubDSurfaceComponent : public UPrimitiveComponent

Remarks

Subdivision Surface Component (Experimental, Early work in progress)

Variables

Name Description

Public variable

int32

 

DebugLevel

Refinement Level of the SubD mesh

Public variable

UStaticMeshComp ...

 

DisplayMeshComponent

Functions

Name Description

Public function

void

 

RecreateMeshData()

Public function

void

 

SetDisplayMeshComponent

(
    UStaticMeshComponent * InDispla...
)

Begin USceneComponent interface.

Public function Virtual

bool

 

SetMesh

(
    USubDSurface* NewMesh
)

Change the SubDSurface used by this instance.

Overridden from UPrimitiveComponent

Name Description

Public function Virtual

UMaterialInt ...

 

GetMaterial

(
    int32 ElementIndex
)

Returns the material used by the element at the specified index

Public function Virtual

int32

 

GetNumMaterials()

Number of material elements in this primitive

Public function Virtual

void

 

GetUsedMaterials

(
    TArray < UMaterialInterface * > ...
)

End UObject interface.

Public function Virtual

void

 

SetMaterial

(
    int32 ElementIndex,
    UMaterialInterface * Material
)

Changes the material applied to an element of the mesh.

Public function Virtual

bool

 

ShouldRecreateProxyOnUpdateTransform()

Determines whether the proxy for this primitive type needs to be recreated whenever the primitive moves.

Overridden from USceneComponent

Name Description

Public function Virtual

FBoxSphereBo ...

 

CalcBounds

(
    const FTransform & LocalToWorld
)

End UPrimitiveComponent interface.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent & PropertyCha...
)

Begin UObject interface.

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SubDSurfaceComponent.h