|
Yasiu Spline Meshed 1
Extension of basic spline for use with meshes.
|
Base actor class with attached component for quick and drag, customizable Actor updates spline and meshes on each change. Ready to use. More...
#include <SplineMeshedActor.h>
Public Member Functions | |
| virtual void | OnConstruction (const FTransform &Transform) override |
| Function that spawns meshes after any change or spawn. | |
| bool | SpawnMeshes () |
| Base Function to pass all params from variable SpawnParams and Place meshes. | |
| void | OverlapActorAlongSpline () |
| Check if any object is overlapping spline location. | |
| void | ConstructionFinished () |
| Function used to set flags for parent ActorClass. To skip re-construction because we did it. | |
Public Attributes | |
| TObjectPtr< USplineMeshedComponent > | SplineMeshedComponent |
| Spline meshed component. | |
| bool | AutoUpdate = true |
| Auto update meshes to spline. | |
| TSoftObjectPtr< UStaticMesh > | Mesh |
| Mesh used to spawn along spline. | |
| FSplineMeshedSpawnParams | SpawnParams |
| Parameters used for mesh spawning. | |
| TArray< TObjectPtr< UMaterialInterface > > | Materials {} |
| Materials list used to apply on meshes to corresponding index. | |
Base actor class with attached component for quick and drag, customizable Actor updates spline and meshes on each change. Ready to use.
Parameters stored in variable for quick edit in level
| void ASplineMeshed::ConstructionFinished | ( | ) |
Function used to set flags for parent ActorClass. To skip re-construction because we did it.