NVIDIA DeepLearning Dataset Synthesizer (NDDS)
 All Classes Namespaces Functions Variables Typedefs Pages
URandomMaterialComponent Class Reference
+ Inheritance diagram for URandomMaterialComponent:
+ Collaboration diagram for URandomMaterialComponent:

Protected Member Functions

virtual void BeginPlay () override
 
class UMaterialInterface * GetNextMaterial ()
 
bool HasMaterialToRandomize () const
 
virtual void OnRandomization_Implementation () override
 
- Protected Member Functions inherited from URandomComponentBase
virtual void EndPlay (const EEndPlayReason::Type EndPlayReason) override
 
virtual void OnFinishedRandomization ()
 
void OnRandomization ()
 
virtual void PostLoad () override
 
virtual void TickComponent (float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
 

Protected Attributes

EAffectedMaterialOwnerComponentType AffectedComponentType
 
bool bUseAllMaterialInDirectories
 
TArray< FDirectoryPath > MaterialDirectories
 
TArray< UMaterialInterface * > MaterialList
 
FRandomMaterialSelection MaterialSelectionConfigData
 
FRandomAssetStreamer MaterialStreamer
 
TArray< class UDecalComponent * > OwnerDecalComponents
 
TArray< class UMeshComponent * > OwnerMeshComponents
 
- Protected Attributes inherited from URandomComponentBase
bool bAlreadyRandomized
 
bool bOnlyRandomizeOnce
 
bool bShouldRandomize
 
float CountdownUntilNextRandomization
 
FFloatInterval RandomizationDurationInterval
 
FFloatRange RandomizationDurationRange
 

Additional Inherited Members

- Public Member Functions inherited from URandomComponentBase
void Randomize ()
 
bool ShouldRandomize () const
 
void StartRandomizing ()
 
void StopRandomizing ()
 

Detailed Description

RandomMaterialComponent randomly change the materials of the owner's mesh in specified material slot

Definition at line 24 of file RandomMaterialComponent.h.


The documentation for this class was generated from the following file: