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

Engine.AnimNodeBlendMultiBone


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
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
/**
 *
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
 */


class AnimNodeBlendMultiBone extends AnimNodeBlendBase
	native(Anim)
	hidecategories(Object);

struct native ChildBoneBlendInfo
{
	/** Weight scaling for each bone of the skeleton. Must be same size as RefSkeleton of SkeletalMesh. If all 0.0, no animation can ever be drawn from Child2. */
	var		array<float>	TargetPerBoneWeight;

	/** Used in InitAnim, so you can set up partial blending in the defaultproperties. See SetTargetStartBone. */
	var()	name			InitTargetStartBone;

	/** Used in InitAnim, so you can set up partial blending in the defaultproperties.  See SetTargetStartBone. */
	var()	float			InitPerBoneIncrease;

	//
	// Internal variables
	//

	/** Old StartBone, to monitor changes */
	var	const	name		OldStartBone;
	/** Old OldBoneIncrease, to monitor changes */
	var const	float		OldBoneIncrease;

	/**
	*	Indices of bones required from Target (at LOD 0), if Target's weight is >0.0.
	*	Bones are only in this array if their per-bone weight is >0.0 (or they have a child in the array).
	*	Indices should be strictly increasing.
	*/
	var			transient array<byte>		TargetRequiredBones;

	structdefaultproperties
	{
		InitPerBoneIncrease=1.0
	}
};

/** List of blend targets - one per bone to blend */
var() array<ChildBoneBlendInfo>	BlendTargetList;

/**
*	Indices of bones required from Source (at LOD 0), if Target's weight is 1.0.
*	Bones are only in this array if their per-bone weight is <1.0 (or they have a child in the array).
*	Indices should be strictly increasing.
*/
var	transient array<byte>		SourceRequiredBones;


// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)

/** Updating the StartBoneName or PerBoneIncrease, will cause the TargetPerBoneWeight to be automatically re-updated, you'll loose custom values! */
//@todo - support opt. params
native noexport final function SetTargetStartBone( int TargetIdx, name StartBoneName, optional float PerBoneIncrease /* = 1.f */ );

defaultproperties
{
   Children(0)=(Name="Source",Weight=1.000000)
   Children(1)=(Name="Target")
   Name="Default__AnimNodeBlendMultiBone"
   ObjectArchetype=AnimNodeBlendBase'Engine.Default__AnimNodeBlendBase'
}

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