Yasiu Spline Meshed 1
Extension of basic spline for use with meshes.
Loading...
Searching...
No Matches
ASplineMeshed Class Reference

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>

Inheritance diagram for ASplineMeshed:
ASplineMeshed_AbstractExtension ASplineMeshed_ExtensionHelix ASplineMeshed_ExtensionSinus

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< USplineMeshedComponentSplineMeshedComponent
 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.

Detailed Description

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

Member Function Documentation

◆ ConstructionFinished()

void ASplineMeshed::ConstructionFinished ( )

Function used to set flags for parent ActorClass. To skip re-construction because we did it.

Note
Parent re-construction forced to rerun by SplineMeshedComponent. Works only on Class ASplineMeshed Bp node "CallParentConstructionScript"

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