MeshComponent¶
Class in Engine · Engine.MeshComponent · native, abstract
Object › Component › ActorComponent › PrimitiveComponent › MeshComponent
Subclasses: ApexComponentBase, SkeletalMeshComponent, StaticMeshComponent
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
Materials | array<MaterialInterface> | const |
Functions¶
| Name | Declaration |
|---|---|
CreateAndSetMaterialInstanceConstant | function MaterialInstanceConstant CreateAndSetMaterialInstanceConstant(int ElementIndex) |
CreateAndSetMaterialInstanceTimeVarying | function MaterialInstanceTimeVarying CreateAndSetMaterialInstanceTimeVarying(int ElementIndex) |
GetMaterial | native function MaterialInterface GetMaterial(int ElementIndex) |
GetNumElements | native function int GetNumElements() |
PrestreamTextures | final native function PrestreamTextures(float Seconds, bool bPrioritizeCharacterTextures, optional int CinematicTextureGroups = 0) |
SetMaterial | native function SetMaterial(int ElementIndex, MaterialInterface Material) |
Default values¶
Inherited¶
| From | Members |
|---|---|
| PrimitiveComponent | 107 properties, 46 functions |
| ActorComponent | 7 properties, 4 functions |
| Component | 2 properties, 0 functions |
| Object | 13 properties, 308 functions |