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

Engine.SkelControlSpline


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
class SkelControlSpline extends SkelControlBase
	native(Anim);
	
/**
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
 *
 *	Controller that configures the bones above the controlled one in the hierarchy into a smooth curve.
 */
 
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)

/** Number of bones above the active one in the hierarchy to modify to make into a smooth curve. */
var(Spline)		int		SplineLength;

/** Axis of the controlled bone (ie the end of the spline) to use as the direction for the curve. */
var(Spline)		EAxis	SplineBoneAxis;

/** Invert the direction we get for the start of the spline. */
var(Spline)		bool	bInvertSplineBoneAxis;

/** Strength of tangent at the controlled bone. */
var(Spline)		float	EndSplineTension;

/** Strength of tangent at the start of the chain. */
var(Spline)		float	StartSplineTension;

enum ESplineControlRotMode
{
	/** Do not modify rotation of bones along the spline. */
	SCR_NoChange,
	
	/** By applying the 'minimum' rotation needed, point the SplineBoneAxis of each bone along the direction of the spline. */
	SCR_AlongSpline,
	
	/** Interpolate the rotation of each bone between the rotation of the bone at the start and end of the spline. */
	SCR_Interpolate
};

/** Controls how the rotation of each bone along the length of the spline is modified. */
var(Spline)		ESplineControlRotMode	BoneRotMode;

defaultproperties
{
   SplineLength=2
   SplineBoneAxis=AXIS_X
   EndSplineTension=10.000000
   StartSplineTension=10.000000
   Name="Default__SkelControlSpline"
   ObjectArchetype=SkelControlBase'Engine.Default__SkelControlBase'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:18:00.000 - Creation time: sk 18-3-2018 10:01:14.260 - Created with UnCodeX