| 1809 | } |
| 1810 | |
| 1811 | void AAlsxtCharacter::PaintMesh_Implementation(UPrimitiveComponent* Component, EPhysicalSurface SurfaceType, const FGameplayTag PaintType, FVector Location, float Radius) |
| 1812 | { |
| 1813 | if (Cast<UAlsxtPaintableSkeletalMeshComponent>(Component)) |
| 1814 | { |
| 1815 | Cast<UAlsxtPaintableSkeletalMeshComponent>(Component)->PaintMesh(SurfaceType, PaintType, Location, Radius); |
| 1816 | } |
| 1817 | if (Cast<UAlsxtPaintableStaticMeshComponent>(Component)) |
| 1818 | { |
| 1819 | Cast<UAlsxtPaintableStaticMeshComponent>(Component)->PaintMesh(SurfaceType, PaintType, Location, Radius); |
| 1820 | } |
| 1821 | } |
| 1822 | |
| 1823 | void AAlsxtCharacter::VolumePaintMesh_Implementation(UPrimitiveComponent* Component, EPhysicalSurface SurfaceType, const FGameplayTag PaintType, FVector Origin, FVector Extent) |
| 1824 | { |