I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:SplineActor (UDK)
Contents
- 1 Properties
- 2 Structs
- 3 Functions
- 3.1 Native functions
- 3.1.1 AddConnectionTo
- 3.1.2 BreakAllConnections
- 3.1.3 BreakAllConnectionsFrom
- 3.1.4 BreakConnectionTo
- 3.1.5 FindSplineComponentTo
- 3.1.6 FindSplinePathTo
- 3.1.7 FindTargetForComponent
- 3.1.8 GetAllConnectedSplineActors
- 3.1.9 GetBestConnectionInDirection
- 3.1.10 GetRandomConnection
- 3.1.11 GetWorldSpaceTangent
- 3.1.12 IsConnectedTo
- 3.1.13 UpdateConnectedSplineComponents
- 3.1.14 UpdateSplineComponents
- 3.2 Other instance functions
- 3.1 Native functions
- Package:
- Engine
- Direct subclass:
- SplineLoftActor
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties
Property group 'SplineActor'
bDisableDestination
Type: bool
Splines connectin to this SplineActor will be marked as bSplineDisabled
SplineActorTangent
Type: Object.Vector
Tangent of spline at this actor - this is in local space
Default value:
Member | Value |
---|---|
X | 300.0 |
Y | 0.0 |
Z | 0.0 |
SplineColor
Type: Object.Color
Color to use to draw the splines
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 0 |
R | 255 |
SplineVelocityOverTime
Type: Object.InterpCurveFloat
Modifiers: editinline
For actors using this spline, how quickly to move along the spline over time
Internal variables
bAlreadyVisited
Type: bool
Modifiers: transient
bestPathWeight
Type: int
Modifiers: transient
Connections
Type: array<SplineConnection>
Array of connections
LinksFrom
Type: array<SplineActor>
Set of SplineActors that link to this one
nextOrdered
Type: SplineActor
Modifiers: transient
previousPath
Type: SplineActor
Modifiers: transient
prevOrdered
Type: SplineActor
Modifiers: transient
visitedWeight
Type: int
Modifiers: transient
Default values
Property | Value |
---|---|
CollisionType | COLLIDE_CustomDefault |
Components[0] | SpriteComponent'Sprite' |
Subobjects
Sprite
Class: Engine.SpriteComponent
Property | Value |
---|---|
AlwaysLoadOnClient | False |
AlwaysLoadOnServer | False |
HiddenGame | True |
ReplacementPrimitive | None |
Scale | 0.5 |
Sprite | Texture2D'EditorResources.Crowd.T_Crowd_Spline' |
Structs
SplineConnection
Modifiers: native
Struct containing information about one connection from this SplineActor to another.
- SplineComponent SplineComponent
- Component that stores actual spline points, tangents, reparam table etc
- SplineActor ConnectTo
- Which SplineActor this one connects to - spline is between these locations
Functions
Native functions
AddConnectionTo
Create a connection to another SplineActor
BreakAllConnections
Break all connections to and from this SplineActor
BreakAllConnectionsFrom
Break all connections from this SplineActor
BreakConnectionTo
Breaks a connection from this SplineActor to NextActor
FindSplineComponentTo
Returns the SplineComponent that connects this SplineActor to NextActor. Returns None if not connected
FindSplinePathTo
Find a path through network from this point to Goal, and put results into OutRoute.
FindTargetForComponent
Returns the SplineActor that this SplineComponent connects to.
GetAllConnectedSplineActors
Find all SplineActors connected to (and including) this one
GetBestConnectionInDirection
Returns a SplineActor that takes you most in the specified direction. If no connections, returns None. If bUseLinksFrom is true, the best connection TO this spline will be returned
GetRandomConnection
If bUseLinksFrom is false, returns a random SplineActor that is connected to from this SplineActor. Otherwise, returns a random SplineActor that connects to this SplineActor. If no connections, returns None.
GetWorldSpaceTangent
Returns spline tangent at this actor, in world space
IsConnectedTo
Returns TRUE if there is a connection from this SplineActor to NextActor
UpdateConnectedSplineComponents
Create/destroy/update SplineComponents belonging to this SplineActor, and all SplineActors that link to this.
UpdateSplineComponents
Create/destroy/update SplineComponents belonging to this SplineActor.
Other instance functions
OnToggle
Handle Toggle action for setting bDisableDestination