ClothShaderType

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/GPUSkinVertexFactory.h

Include

#include "GPUSkinVertexFactory.h"

Syntax

struct ClothShaderType

Variables

Name Description

Public variable

float

 

ClothBlendWeight

Weight to blend between simulated positions and key-framed poses if ClothBlendWeight is 1.0, it shows only simulated positions and if it is 0.0, it shows only key-framed animation

Constructors

Name Description

Public function

ClothShaderType()

Functions

Name Description

Public function Const

const FVerte...

 

GetClothBufferForReading

(
    bool bPrevious,
    uint32 FrameNumber
)

Public function

FVertexBuffe...

 

GetClothBufferForWriting

(
    uint32 FrameNumber
)

Public function Const

const FMatri...

 

GetClothLocalToWorldForReading

(
    bool bPrevious,
    uint32 FrameNumber
)

Public function

FMatrix &

 

GetClothLocalToWorldForWriting

(
    uint32 FrameNumber
)

Public function Const

TUniformBuff...

 

GetClothUniformBuffer()

Public function

void

 

ReleaseClothSimulData()

Public function

bool

 

UpdateClothSimulData

(
    FRHICommandListImmediate& RHICmdLi...,
    const TArray< FVector >& InSimulPo...,
    const TArray< FVector >& InSimulNo...,
    uint32 FrameNumber,
    ERHIFeatureLevel::Type FeatureLevel
)

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