UE3:SkeletalMeshActor (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> Actor >> SkeletalMeshActor
Package:
Engine
Direct subclasses:
MorphTestActor, SkeletalMeshActorBasedOnExtremeContent, SkeletalMeshActorSpawnable, SkeletalMeshCinematicActor
This class in other games:


Properties

Property group 'Gears'

bCheckpointSaveRotation

Type: bool

Modifiers: const

whether we need to save this Actor's Rotation in checkpoints

Property group 'SkeletalMeshActor'

bDamageAppliesImpulse

Type: bool


bShouldDoAnimNotifies

Type: bool

Whether or not this actor should respond to anim notifies *

ControlTargets

Type: array<SkelMeshActorControlTarget>

Set of skel controls to update targets of, based on Actor location

LightEnvironment

Type: LightEnvironmentComponent

Modifiers: const, editconst


Default value: DynamicLightEnvironmentComponent'MyLightEnvironment'

SkeletalMeshComponent

Type: SkeletalMeshComponent


Default value: SkeletalMeshComponent'SkeletalMeshComponent0'

Internal variables

bCollideActors_OldValue

Type: bool

Modifiers: deprecated

mirror of bCollideActors used for backwards compatibility with change of default bCollideActors to FALSE we save the value in previous package versions into this property instead and copy back thus preserving the value of the property in old content regardless of whether they modified it

Default value: True

FacialAudioComp

Type: AudioComponent


Default value: AudioComponent'FaceAudioComponent'

InterpGroupList

Type: array<InterpGroup>

Modifiers: transient

List of Matinee InterpGroup controlling this actor.

ReplicatedMaterial

Type: MaterialInterface

Modifiers: repnotify

used to replicate the material in index 0

ReplicatedMesh

Type: SkeletalMesh

Modifiers: repnotify, transient

Used to replicate mesh to clients

Default values

Subobjects

FaceAudioComponent

Class: Engine.AudioComponent

No new values.

MyLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

No new values.

SkeletalMeshComponent0

Class: Engine.SkeletalMeshComponent

Property Value
Animations AnimNodeSequence'Engine.Default__SkeletalMeshActor:AnimNodeSeq0'
bForceMeshObjectUpdates True
BlockZeroExtent True
bUpdateSkelWhenNotRendered False
CollideActors True
LightEnvironment DynamicLightEnvironmentComponent'Engine.Default__SkeletalMeshActor:MyLightEnvironment'
RBChannel RBCC_GameplayPhysics
RBCollideWithChannels
Member Value
BlockingVolume True
Default True
EffectPhysics True
GameplayPhysics True
ReplacementPrimitive None

Structs

CheckpointRecord

bool bHidden
Object.Rotator Rotation

SkelMeshActorControlTarget

Modifiers: native

Struct that stores info to update one skel control with a location target

name ControlName
Name of SkelControl to update
Actor TargetActor
Actor to use for location of skel control target.

Functions

Native functions

MAT_BeginAnimControl

native function MAT_BeginAnimControl (InterpGroup InInterpGroup)

Start AnimControl. Add required AnimSets.

MAT_FinishAnimControl

native function MAT_FinishAnimControl (InterpGroup InInterpGroup)

End AnimControl. Release required AnimSets

UpdateAnimSetList

native simulated function UpdateAnimSetList ()

Update list of AnimSets for this Pawn

Events

BeginAnimControl

simulated event BeginAnimControl (InterpGroup InInterpGroup)

Overrides: Actor.BeginAnimControl

Called when we start an AnimControl track operating on this Actor. Supplied is the set of AnimSets we are going to want to play from.

Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


FinishAnimControl

simulated event FinishAnimControl (InterpGroup InInterpGroup)

Overrides: Actor.FinishAnimControl

Called when we are done with the AnimControl track.

GetActorFaceFXAsset

simulated event FaceFXAsset GetActorFaceFXAsset ()

Overrides: Actor.GetActorFaceFXAsset

Used by Matinee in-game to mount FaceFXAnimSets before playing animations.

GetFaceFXAudioComponent

simulated event AudioComponent GetFaceFXAudioComponent ()

Overrides: Actor.GetFaceFXAudioComponent

Used to let FaceFX know what component to play dialogue audio on.

OnSetMesh

event OnSetMesh (SeqAct_SetMesh Action)


OnSetSkelControlTarget

simulated event OnSetSkelControlTarget (SeqAct_SetSkelControlTarget Action)

Handle action to set skel control target from kismet.

OnUpdatePhysBonesFromAnim

simulated event OnUpdatePhysBonesFromAnim (SeqAct_UpdatePhysBonesFromAnim Action)

Handle action that forces bodies to sync to their animated location

PlayActorFaceFXAnim

simulated event bool PlayActorFaceFXAnim (FaceFXAnimSet AnimSet, string GroupName, string SeqName, SoundCue SoundCueToPlay)

Overrides: Actor.PlayActorFaceFXAnim

Handler for Matinee wanting to play FaceFX animations in the game.

PlayParticleEffect

event PlayParticleEffect (const AnimNotify_PlayParticleEffect AnimNotifyData)

Overrides: Actor.PlayParticleEffect

Called by AnimNotify_PlayParticleEffect Looks for a socket name first then bone name

Parameters:

  • AnimNotifyData - The AnimNotify_PlayParticleEffect which will have all of the various params on it

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


ReplicatedEvent

simulated event ReplicatedEvent (name VarName)

Overrides: Actor.ReplicatedEvent


SetAnimPosition

simulated event SetAnimPosition (name SlotName, int ChannelIndex, name InAnimSeqName, float InPosition, bool bFireNotifies, bool bLooping)

Overrides: Actor.SetAnimPosition

Called each from while the Matinee action is running, with the desired sequence name and position we want to be at.

StopActorFaceFXAnim

simulated event StopActorFaceFXAnim ()

Overrides: Actor.StopActorFaceFXAnim

Handler for Matinee wanting to stop FaceFX animations in the game.

TakeDamage

event TakeDamage (int Damage, Controller EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType, optional Actor.TraceHitInfo HitInfo, optional Actor DamageCauser)

Overrides: Actor.TakeDamage

Default behaviour when shot is to apply an impulse and kick the KActor.

Other instance functions

ApplyCheckpointRecord

function ApplyCheckpointRecord (const out CheckpointRecord Record)


CreateCheckpointRecord

function CreateCheckpointRecord (out CheckpointRecord Record)


DoKismetAttachment

function DoKismetAttachment (Actor Attachment, SeqAct_AttachToActor Action)

Overrides: Actor.DoKismetAttachment

Performs actual attachment. Can be subclassed for class specific behaviors.

IsActorPlayingFaceFXAnim

simulated function bool IsActorPlayingFaceFXAnim ()

Overrides: Actor.IsActorPlayingFaceFXAnim

Returns TRUE if this actor is playing a FaceFX anim.

OnPlayFaceFXAnim

simulated function OnPlayFaceFXAnim (SeqAct_PlayFaceFXAnim inAction)

Function for handling the SeqAct_PlayFaceFXAnim Kismet action working on this Actor.

OnSetMaterial

function OnSetMaterial (SeqAct_SetMaterial Action)


OnToggle

simulated function OnToggle (SeqAct_Toggle action)

Handling Toggle event from Kismet.

ShouldSaveForCheckpoint

function bool ShouldSaveForCheckpoint ()


SkelMeshActorOnParticleSystemFinished

simulated function SkelMeshActorOnParticleSystemFinished (ParticleSystemComponent PSC)

We so we detach the Component once we are done playing it *