Class SplineMeshComponent
A Spline Mesh Component is a derivation of a Static Mesh Component which can be deformed using a spline.
Inheritance
System.Object
SplineMeshComponent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class SplineMeshComponent : StaticMeshComponent
Properties
|
Improve this Doc
View Source
bAllowSplineEditingPerInstance
Declaration
public bool bAllowSplineEditingPerInstance { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
bMeshDirty
Declaration
public bool bMeshDirty { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
BodySetup
Declaration
public BodySetup BodySetup { get; set; }
Property Value
|
Improve this Doc
View Source
bSelected
Declaration
public bool bSelected { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
bSmoothInterpRollScale
Declaration
public bool bSmoothInterpRollScale { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
CachedMeshBodySetupGuid
Used to automatically trigger rebuild of collision data
Declaration
public FGuid CachedMeshBodySetupGuid { get; set; }
Property Value
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static SplineMeshComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
ForwardAxis
Chooses the forward axis for the spline mesh orientation
Declaration
public byte ForwardAxis { get; set; }
Property Value
| Type |
Description |
| System.Byte |
|
|
Improve this Doc
View Source
SplineBoundaryMax
Maximum coordinate along the spline forward axis which corresponds to end of spline. If set to 0.0, will use bounding box to determine bounds
Declaration
public float SplineBoundaryMax { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
SplineBoundaryMin
Minimum coordinate along the spline forward axis which corresponds to start of spline. If set to 0.0, will use bounding box to determine bounds
Declaration
public float SplineBoundaryMin { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
SplineParams
Spline that is used to deform mesh
Declaration
public SplineMeshParams SplineParams { get; set; }
Property Value
|
Improve this Doc
View Source
SplineUpDir
Axis (in component space) that is used to determine X axis for co-ordinates along spline
Declaration
public Vector SplineUpDir { get; set; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetBoundaryMax()
Declaration
public float GetBoundaryMax()
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetBoundaryMin()
Declaration
public float GetBoundaryMin()
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetEndOffset()
Declaration
public Vector2D GetEndOffset()
Returns
|
Improve this Doc
View Source
GetEndPosition()
Get the end position of spline in local space
Declaration
public Vector GetEndPosition()
Returns
|
Improve this Doc
View Source
GetEndRoll()
Declaration
public float GetEndRoll()
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetEndScale()
Declaration
public Vector2D GetEndScale()
Returns
|
Improve this Doc
View Source
GetEndTangent()
Get the end tangent vector of spline in local space
Declaration
public Vector GetEndTangent()
Returns
|
Improve this Doc
View Source
GetForwardAxis()
Declaration
public byte GetForwardAxis()
Returns
| Type |
Description |
| System.Byte |
|
|
Improve this Doc
View Source
GetSplineUpDir()
Get the spline up direction
Declaration
public Vector GetSplineUpDir()
Returns
|
Improve this Doc
View Source
GetStartOffset()
Declaration
public Vector2D GetStartOffset()
Returns
|
Improve this Doc
View Source
GetStartPosition()
Get the start position of spline in local space
Declaration
public Vector GetStartPosition()
Returns
|
Improve this Doc
View Source
GetStartRoll()
Declaration
public float GetStartRoll()
Returns
| Type |
Description |
| System.Single |
|
|
Improve this Doc
View Source
GetStartScale()
Declaration
public Vector2D GetStartScale()
Returns
|
Improve this Doc
View Source
GetStartTangent()
Get the start tangent vector of spline in local space
Declaration
public Vector GetStartTangent()
Returns
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static SplineMeshComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
SetBoundaryMax(Single, Boolean)
Declaration
public void SetBoundaryMax(float InBoundaryMax, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| System.Single |
InBoundaryMax |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetBoundaryMin(Single, Boolean)
Declaration
public void SetBoundaryMin(float InBoundaryMin, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| System.Single |
InBoundaryMin |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetEndOffset(Vector2D, Boolean)
Declaration
public void SetEndOffset(Vector2D EndOffset, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector2D |
EndOffset |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetEndPosition(Vector, Boolean)
Set the end position of spline in local space
Declaration
public void SetEndPosition(Vector EndPos, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector |
EndPos |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetEndRoll(Single, Boolean)
Declaration
public void SetEndRoll(float EndRoll, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| System.Single |
EndRoll |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetEndScale(Vector2D, Boolean)
Declaration
public void SetEndScale(Vector2D EndScale, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector2D |
EndScale |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetEndTangent(Vector, Boolean)
Set the end tangent vector of spline in local space
Declaration
public void SetEndTangent(Vector EndTangent, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector |
EndTangent |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetForwardAxis(Byte, Boolean)
Declaration
public void SetForwardAxis(byte InForwardAxis, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| System.Byte |
InForwardAxis |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetSplineUpDir(Vector, Boolean)
Set the spline up direction
Declaration
public void SetSplineUpDir(Vector InSplineUpDir, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector |
InSplineUpDir |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetStartAndEnd(Vector, Vector, Vector, Vector, Boolean)
Set the start and end, position and tangent, all in local space
Declaration
public void SetStartAndEnd(Vector StartPos, Vector StartTangent, Vector EndPos, Vector EndTangent, bool bUpdateMesh)
Parameters
|
Improve this Doc
View Source
SetStartOffset(Vector2D, Boolean)
Declaration
public void SetStartOffset(Vector2D StartOffset, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector2D |
StartOffset |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetStartPosition(Vector, Boolean)
Set the start position of spline in local space
Declaration
public void SetStartPosition(Vector StartPos, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector |
StartPos |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetStartRoll(Single, Boolean)
Declaration
public void SetStartRoll(float StartRoll, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| System.Single |
StartRoll |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetStartScale(Vector2D, Boolean)
Declaration
public void SetStartScale(Vector2D StartScale, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector2D |
StartScale |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
SetStartTangent(Vector, Boolean)
Set the start tangent vector of spline in local space
Declaration
public void SetStartTangent(Vector StartTangent, bool bUpdateMesh)
Parameters
| Type |
Name |
Description |
| Vector |
StartTangent |
|
| System.Boolean |
bUpdateMesh |
|
|
Improve this Doc
View Source
UpdateMesh()
Update the collision and render state on the spline mesh following changes to its geometry
Declaration
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to SplineMeshComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator SplineMeshComponent(IntPtr p)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
p |
|
Returns