Mostly Harmless
UE3:AnimNodeAimOffset (UT3)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> AnimNode >> AnimNodeBlendBase >> AnimNodeAimOffset |
Contents |
- Package:
- Engine
- Direct subclass:
- UTAnimNodeJumpLeanOffset
- This class in other games:
- UDK
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
[edit] Properties
[edit] Property group 'AnimNodeAimOffset'
[edit] Aim
Type: Object.Vector2D
Angle of aiming, between -1..+1
[edit] AngleOffset
Type: Object.Vector2D
Angle offset applied to Aim before processing
[edit] bBakeFromAnimations
Type: bool
Bake offsets from animations.
[edit] bForceAimDir
Type: bool
If true, ignore Aim, and use the ForcedAimDir enum instead to determine which aim direction to draw.
[edit] CurrentProfileIndex
Type: int
Modifiers: const, editconst
Index of currently active Profile. Use the SetActiveProfileByName or SetActiveProfileByIndex function to change.
[edit] ForcedAimDir
Type: EAnimAimDir
If bForceAimDir is true, this is the direction to render the character aiming in.
Default value: ANIMAIM_CENTERCENTER
[edit] PassThroughAtOrAboveLOD
Type: int
If the LOD of this skeletal mesh is at or above this LOD, then this node will do nothing.
Default value: 1000
[edit] Profiles
Type: array<AimOffsetProfile>
Modifiers: editconst
Array of different aiming 'profiles'
[edit] Internal variables
[edit] AimComponents
Type: array<AimComponent>
[edit] AnimName_CC
Type: name
[edit] AnimName_CD
Type: name
[edit] AnimName_CU
Type: name
[edit] AnimName_LC
Type: name
[edit] AnimName_LD
Type: name
[edit] AnimName_LU
Type: name
[edit] AnimName_RC
Type: name
[edit] AnimName_RD
Type: name
[edit] AnimName_RU
Type: name
[edit] BoneToAimCpnt
Modifiers: transient
Bone Index to AimComponent Index look up table.
[edit] HorizontalRange
Type: Object.Vector2D
Default value:
| Member | Value |
|---|---|
| X | -1.0 |
| Y | 1.0 |
[edit] RequiredBones
Modifiers: transient
Internal, array of required bones. Selected bones and their parents for local to component space transformation.
[edit] TemplateNode
Type: AnimNodeAimOffset
Modifiers: transient
Pointer to AimOffset node in package (AnimTreeTemplate), to avoid duplicating profile data. Always NULL in AimOffset Editor (in ATE).
[edit] VerticalRange
Type: Object.Vector2D
Default value:
| Member | Value |
|---|---|
| X | -1.0 |
| Y | 1.0 |
[edit] Default values
| Property | Value | ||||||
|---|---|---|---|---|---|---|---|
| bFixNumChildren | True | ||||||
| Children[0] |
|
[edit] Enums
[edit] EAnimAimDir
Handy enum for working with directions.
- ANIMAIM_LEFTUP
- ANIMAIM_CENTERUP
- ANIMAIM_RIGHTUP
- ANIMAIM_LEFTCENTER
- ANIMAIM_CENTERCENTER
- ANIMAIM_RIGHTCENTER
- ANIMAIM_LEFTDOWN
- ANIMAIM_CENTERDOWN
- ANIMAIM_RIGHTDOWN
[edit] Structs
[edit] AimComponent
Modifiers: native
definition of an AimComponent.
- name BoneName
- Bone transformed
- AimTransform LU
- Left column
- AimTransform LC
- AimTransform LD
- AimTransform CU
- Center
- AimTransform CC
- AimTransform CD
- AimTransform RU
- Right
- AimTransform RC
- AimTransform RD
[edit] AimOffsetProfile
Modifiers: native
- name ProfileName
- Name of this aim-offset profile.
- Object.Vector2D HorizontalRange
- Maximum horizontal range (min, max) for horizontal aiming.
- Object.Vector2D VerticalRange
- Maximum horizontal range (min, max) for vertical aiming.
- array<AimComponent> AimComponents
- Array of AimComponents.
Represents the selected bones and their transformations.
- name AnimName_LU
- Names of animations to use when automatically generating offsets based animations for each direction.
Animations are not actually used in-game - just for editor.
- name AnimName_LC
- name AnimName_LD
- name AnimName_CU
- name AnimName_CC
- name AnimName_CD
- name AnimName_RU
- name AnimName_RC
- name AnimName_RD
Default values:
| Property | Value | ||||||
|---|---|---|---|---|---|---|---|
| HorizontalRange |
|
||||||
| ProfileName | 'Default' | ||||||
| VerticalRange |
|
[edit] AimTransform
Modifiers: native
9 control points range:
Left Center Right
LU CU RU Up LC CC RC Center LD CD RD Down
- Object.Rotator Rotation
- Object.Quat Quaternion
- Object.Vector Translation
[edit] Native functions
[edit] SetActiveProfileByIndex
Change the currently active profile to the one with the supplied index. If ProfileIndex is outside range, this does nothing.
[edit] SetActiveProfileByName
Change the currently active profile to the one with the supplied name. If a profile with that name does not exist, this does nothing.
