The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

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

FadingDurationTime

Type: float

Fading duration time since fading starts - in second *

Default value: 50.0

FadingIntervalTime

Type: float

Fading interval - in second *

Default value: 3.0

FadingPercentage

Type: float

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

Default value: 0.99

FadingStartTimeAfterHit

Type: float

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

Default value: 10.0

ForceLOD

Type: int

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

Default value: -1

RenderSection

Type: int

Which section to render for mask *

SkeletalMeshComp

Type: SkeletalMeshComponent

Modifiers: transient, const

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

TextureTarget

Type: TextureRenderTarget2D

Modifiers: transient, const

render target resource to set as target for capture

Native functions

SetCaptureParameters

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

interface for changing parameters

SetCaptureTargetTexture

native noexport final function SetCaptureTargetTexture (const TextureRenderTarget2D InTextureTarget)

interface for changing target texture