Mostly Harmless
Difference between revisions of "UE3:SplineActor (UDK)"
(Talk) |
m (1 revision: class descriptions for UDK January update (part 5)) |
||
(One intermediate revision by one other user not shown) | |||
Line 56: | Line 56: | ||
| 255 | | 255 | ||
|} | |} | ||
+ | |||
+ | ====SplineVelocityOverTime==== | ||
+ | '''Type:''' {{tl|InterpCurveFloat|Object|structs}} | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' editinline | ||
+ | |||
+ | For actors using this spline, how quickly to move along the spline over time | ||
===Internal variables=== | ===Internal variables=== | ||
Line 212: | Line 219: | ||
{{code|native function {{tl|Vector|Object|structs}} '''GetWorldSpaceTangent''' ()}} | {{code|native function {{tl|Vector|Object|structs}} '''GetWorldSpaceTangent''' ()}} | ||
− | + | Returns spline tangent at this actor, in world space | |
====IsConnectedTo==== | ====IsConnectedTo==== |
Latest revision as of 05:48, 17 January 2010
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[edit]
Property group 'SplineActor'[edit]
bDisableDestination[edit]
Type: bool
Splines connectin to this SplineActor will be marked as bSplineDisabled
SplineActorTangent[edit]
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[edit]
Type: Object.Color
Color to use to draw the splines
Default value:
Member | Value |
---|---|
A | 255 |
B | 255 |
G | 0 |
R | 255 |
SplineVelocityOverTime[edit]
Type: Object.InterpCurveFloat
Modifiers: editinline
For actors using this spline, how quickly to move along the spline over time
Internal variables[edit]
bAlreadyVisited[edit]
Type: bool
Modifiers: transient
bestPathWeight[edit]
Type: int
Modifiers: transient
Connections[edit]
Type: array<SplineConnection>
Array of connections
LinksFrom[edit]
Type: array<SplineActor>
Set of SplineActors that link to this one
nextOrdered[edit]
Type: SplineActor
Modifiers: transient
previousPath[edit]
Type: SplineActor
Modifiers: transient
prevOrdered[edit]
Type: SplineActor
Modifiers: transient
visitedWeight[edit]
Type: int
Modifiers: transient
Default values[edit]
Property | Value |
---|---|
CollisionType | COLLIDE_CustomDefault |
Components[0] | SpriteComponent'Sprite' |
Subobjects[edit]
Sprite[edit]
Class: Engine.SpriteComponent
Property | Value |
---|---|
AlwaysLoadOnClient | False |
AlwaysLoadOnServer | False |
HiddenGame | True |
ReplacementPrimitive | None |
Scale | 0.5 |
Sprite | Texture2D'EditorResources.Crowd.T_Crowd_Spline' |
Structs[edit]
SplineConnection[edit]
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[edit]
Native functions[edit]
AddConnectionTo[edit]
Create a connection to another SplineActor
BreakAllConnections[edit]
Break all connections to and from this SplineActor
BreakAllConnectionsFrom[edit]
Break all connections from this SplineActor
BreakConnectionTo[edit]
Breaks a connection from this SplineActor to NextActor
FindSplineComponentTo[edit]
Returns the SplineComponent that connects this SplineActor to NextActor. Returns None if not connected
FindSplinePathTo[edit]
Find a path through network from this point to Goal, and put results into OutRoute.
FindTargetForComponent[edit]
Returns the SplineActor that this SplineComponent connects to.
GetAllConnectedSplineActors[edit]
Find all SplineActors connected to (and including) this one
GetBestConnectionInDirection[edit]
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[edit]
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[edit]
Returns spline tangent at this actor, in world space
IsConnectedTo[edit]
Returns TRUE if there is a connection from this SplineActor to NextActor
UpdateConnectedSplineComponents[edit]
Create/destroy/update SplineComponents belonging to this SplineActor, and all SplineActors that link to this.
UpdateSplineComponents[edit]
Create/destroy/update SplineComponents belonging to this SplineActor.
Other instance functions[edit]
OnToggle[edit]
Handle Toggle action for setting bDisableDestination