I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:SceneCapture2DHitMaskComponent (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Component >> ActorComponent >> SceneCaptureComponent >> SceneCapture2DHitMaskComponent
Package: 
Engine

SceneCapture2DHitMaskComponent

Allows owner's skeletal mesh capture to a 2D texture render target with mask information

Properties[edit]

FadingDurationTime[edit]

Type: float

Fading duration time since fading starts - in second *

Default value: 50.0

FadingIntervalTime[edit]

Type: float

Fading interval - in second *

Default value: 3.0

FadingPercentage[edit]

Type: float

What % of color to apply - Range of 0 to 1 *

Default value: 0.99

FadingStartTimeAfterHit[edit]

Type: float

Fading start time after hit - in second - by default 10 seconds *

Default value: 10.0

ForceLOD[edit]

Type: int

To do this properly we need to use ForcedLOD system of SkeletalMeshComponent *

Default value: -1

RenderSection[edit]

Type: int

Which section to render for mask *

SkeletalMeshComp[edit]

Type: SkeletalMeshComponent

Modifiers: transient, const

mesh to render to target resource - Owner's SkeletalMesh*

TextureTarget[edit]

Type: TextureRenderTarget2D

Modifiers: transient, const

render target resource to set as target for capture

Native functions[edit]

SetCaptureParameters[edit]

native noexport final function SetCaptureParameters (const Object.Vector InMaskPosition, const float InMaskRadius, const Object.Vector InStartupPosition)

interface for changing parameters

SetCaptureTargetTexture[edit]

native noexport final function SetCaptureTargetTexture (const TextureRenderTarget2D InTextureTarget)

interface for changing target texture