|
Yasiu Spline Meshed 1
Extension of basic spline for use with meshes.
|
Parameters used to customize mesh spawn along spline. More...
#include <SplineMeshedComponent.h>
Public Member Functions | |
| FSplineMeshedSpawnParams (const float &spacing, const bool &deformMesh, const ESplineMeshAxis::Type &forwardAxis, const ESplineRotateMode &RotateMethod) | |
| For Spaced non-deformed meshes. | |
Public Attributes | |
| ESplineMeshStretching | StretchMethod = ESplineMeshStretching::NoStretching |
| How many meshes should be spawned along spline. | |
| ESplineRotateMode | RotationMethod = ESplineRotateMode::DefaultFixed |
| Method used for solving up vector. | |
| TEnumAsByte< ESplineMeshAxis::Type > | ForwardAxis = ESplineMeshAxis::X |
| Axis of mesh to be aligned along spline. | |
| float | MeshSpacing = 50 |
| Spacing between meshes, Scaled with MeshTransform for easier use. see also AddMeshSizeToSpacing. | |
| bool | AddMeshSizeToSpacing = true |
| Size of mesh in spine direction will be added to spacing step. | |
| bool | DeformMesh = true |
| Can meshes be deformed with tangents. | |
| bool | FixInvalidTangents = true |
| Fix tangents that are perpendicular (prevents deforms that show mesh inside). | |
| bool | FixSharpDeformations = false |
| Removes (tangents) of meshes that are spawned on very tight curves. (FixInvalidTangents must be enabled). | |
| FVector | UpVector {0, 0, 1} |
| Vector for use with "Constant" rotation mode, ESplineRotateMode. | |
| FTransform | MeshTransform {} |
| Relative transform change. | |
| FSplineRandomness | MeshRandomness {} |
| Values used for randomizing rotation and translation. Not used with Stretching=Pipes. | |
| FSplineMeshedCollision | CollisionPreset {} |
| Collision parameters that are applied to each mesh. | |
Parameters used to customize mesh spawn along spline.
| bool FSplineMeshedSpawnParams::AddMeshSizeToSpacing = true |
Size of mesh in spine direction will be added to spacing step.
True: will calculate mesh size and add gap value to find next position False: will place each mesh after given distance Does not make any effect when StretchMode==SinglePerSegment
| bool FSplineMeshedSpawnParams::FixInvalidTangents = true |
Fix tangents that are perpendicular (prevents deforms that show mesh inside).
Threshold is 20% or normalized CrossProduct
| FTransform FSplineMeshedSpawnParams::MeshTransform {} |
Relative transform change.
| Location | Offset is relative to spline (not relative to rotation change) |
| Rotation | change relative to spline |
| Scale | change of mesh |