Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.SplineComponent

Extends
PrimitiveComponent
Modifiers
native ( Spline )

Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Core.Component
   |   
   +-- Engine.ActorComponent
      |   
      +-- Engine.PrimitiveComponent
         |   
         +-- Engine.SplineComponent

Variables Summary
SplineComponent
boolbSplineDisabled
floatSplineArrowSize
ColorSplineColor
floatSplineCurviness
floatSplineDrawRes
InterpCurveVectorSplineInfo
InterpCurveFloatSplineReparamTable
Inherited Variables from Engine.PrimitiveComponent
AbsoluteRotation, AbsoluteScale, AbsoluteTranslation, AlwaysCheckCollision, AlwaysLoadOnClient, AlwaysLoadOnServer, bAcceptsDecals, bAcceptsDecalsDuringGameplay, bAcceptsDynamicDecals, bAcceptsDynamicDominantLightShadows, bAcceptsDynamicLights, bAcceptsLights, bAcceptsStaticDecals, bAllowAmbientOcclusion, bAllowApproximateOcclusion, bAllowCullDistanceVolume, bAllowDecalAutomaticReAttach, bAllowShadowFade, bBlockFootPlacement, bCastDynamicShadow, bCastHiddenShadow, bCastShadowAsTwoSided, bCastStaticShadow, bCullModulatedShadowOnBackfaces, bCullModulatedShadowOnEmissive, bDisableAllRigidBody, bFirstFrameOcclusion, bFluidDrain, bFluidTwoWay, bForceDirectLightMap, bForceMipStreaming, bHasExplicitShadowParent, bIgnoreForceField, bIgnoreHiddenActorsMembership, bIgnoreNearPlaneIntersection, bIgnoreOwnerHidden, bIgnoreRadialForce, bIgnoreRadialImpulse, bIsRefreshingDecals, BlockActors, BlockNonZeroExtent, BlockRigidBody, BlockZeroExtent, bNotifyRigidBodyCollision, BodyInstance, bOnlyOwnerSee, Bounds, BoundsScale, bOwnerNoSee, bSelectable, bSelfShadowOnly, bSkipRBGeomCreation, bUseAsOccluder, bUseCompartment, bUseOnePassLightingOnTranslucency, bUsePrecomputedShadows, bUseViewOwnerDepthPriorityGroup, bWasSNFiltered, CachedCullDistance, CachedMaxDrawDistance, CachedParentToWorld, CanBlockCamera, CastShadow, CollideActors, CullDistance, DecalList, DecalsToReattach, DepthPriorityGroup, DetachFence, DetailMode, FogVolumeComponent, HiddenEditor, HiddenGame, LastRenderTime, LastSubmitTime, LightEnvironment, LightingChannels, LocalToWorld, LocalToWorldDeterminant, MassiveLODDistance, MaxDrawDistance, MinDrawDistance, MotionBlurInfoIndex, MotionBlurScale, OctreeNodes, OverrideLightComponent, PhysMaterialOverride, PreviewEnvironmentShadowing, PreviousLightEnvironment, RBChannel, RBCollideWithChannels, RBDominanceGroup, ReplacementPrimitive, Rotation, Scale3D, Scale, SceneInfo, ScriptRigidBodyCollisionThreshold, ShadowParent, Tag, Translation, TranslucencySortPriority, ViewOwnerDepthPriorityGroup, VisibilityId
Inherited Variables from Engine.ActorComponent
bAttached, bNeedsReattach, bNeedsUpdateTransform, bTickInEditor, Owner, Scene, TickGroup

Enumerations Summary
Inherited Enumerations from Engine.PrimitiveComponent
ERadialImpulseFalloff, ERBCollisionChannel, GJKResult

Structures Summary
Inherited Structures from Engine.PrimitiveComponent
MaterialViewRelevance, RBCollisionChannelContainer

Functions Summary
functionvector GetLocationAtDistanceAlongSpline (float Distance) con)
functionfloat GetSplineLength () con)
functionvector GetTangentAtDistanceAlongSpline (float Distance) con)
function UpdateSplineCurviness ()
function UpdateSplineReparamTable ()
Inherited Functions from Engine.PrimitiveComponent
AddForce, AddImpulse, AddRadialForce, AddRadialImpulse, AddTorque, ClosestPointOnComponentToComponent, ClosestPointOnComponentToPoint, GetPosition, GetRootBodyInstance, GetRotation, InitRBPhys, PutRigidBodyToSleep, RetardRBLinearVelocity, RigidBodyIsAwake, SetAbsolute, SetActorCollision, SetBlockRigidBody, SetCullDistance, SetDepthPriorityGroup, SetHidden, SetIgnoreOwnerHidden, SetLightEnvironment, SetLightingChannels, SetNotifyRigidBodyCollision, SetOnlyOwnerSee, SetOwnerNoSee, SetPhysMaterialOverride, SetRBAngularVelocity, SetRBChannel, SetRBCollidesWithChannel, SetRBCollisionChannels, SetRBDominanceGroup, SetRBLinearVelocity, SetRBPosition, SetRBRotation, SetRotation, SetScale, SetScale3D, SetShadowParent, SetTraceBlocking, SetTranslation, SetViewOwnerDepthPriorityGroup, ShouldComponentAddToScene, WakeRigidBody
Inherited Functions from Engine.ActorComponent
DetachFromAny, ForceUpdate, SetComponentRBFixed, SetTickGroup


Variables Detail

SplineComponent

bSplineDisabled Source code

var(SplineComponent) bool bSplineDisabled;
If TRUE, this spline is for whatever reason disabled, and will be drawn in red.

SplineArrowSize Source code

var(SplineComponent) float SplineArrowSize;
Size of arrow on end of spline. If zero, no arrow drawn

SplineColor Source code

var(SplineComponent) Color SplineColor;
Color of spline

SplineCurviness Source code

var(SplineComponent) editconst float SplineCurviness;
This is how curvy this spline is. 1.0f is straight and anything below that is curvy! We are doing a simplistic calculate of: vsize(points) / Length Of Spline

SplineDrawRes Source code

var(SplineComponent) float SplineDrawRes;
Resolution to draw spline at

SplineInfo Source code

var(SplineComponent) InterpCurveVector SplineInfo;
Actual data for spline. Locations and tangents are in world space.

SplineReparamTable Source code

var(SplineComponent) InterpCurveFloat SplineReparamTable;
Input, distance along curve, output, parameter that puts you there.


Functions Detail

GetLocationAtDistanceAlongSpline Source code

native const function vector GetLocationAtDistanceAlongSpline ( float Distance) con )
Given a distance along the length of this spline, return the point in space where this puts you

GetSplineLength Source code

native const function float GetSplineLength ( ) con )
Returns total length along this spline

GetTangentAtDistanceAlongSpline Source code

native const function vector GetTangentAtDistanceAlongSpline ( float Distance) con )
Given a distance along the length of this spline, return the direction of the spline there. Note, result is non-unit length.

UpdateSplineCurviness Source code

native function UpdateSplineCurviness ( )
This will update the spline curviness value

UpdateSplineReparamTable Source code

native function UpdateSplineReparamTable ( )
Update the SplineReparamTable


Defaultproperties

defaultproperties
{
	SplineDrawRes=0.1
	SplineArrowSize=60.0
	SplineColor=(R=255,B=255,A=255)
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:57.544 - Created with UnCodeX