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

Engine.SceneCapture2DHitMaskComponent

Extends
SceneCaptureComponent
Modifiers
native

SceneCapture2DHitMaskComponent Allows owner's skeletal mesh capture to a 2D texture render target with mask information Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Core.Component
   |   
   +-- Engine.ActorComponent
      |   
      +-- Engine.SceneCaptureComponent
         |   
         +-- Engine.SceneCapture2DHitMaskComponent

Variables Summary
floatFadingDurationTime
floatFadingIntervalTime
floatFadingPercentage
floatFadingStartTimeSinceHit
intForceLOD
intHitMaskCullDistance
intMaterialIndex
SkeletalMeshComponentSkeletalMeshComp
TextureRenderTarget2DTextureTarget
Inherited Variables from Engine.SceneCaptureComponent
bEnabled, bEnableFog, bEnablePostProcess, bSkipRenderingDepthPrepass, bSkipUpdateIfOwnerOccluded, bSkipUpdateIfTextureUsersOccluded, bUseMainScenePostProcessSettings, CaptureInfo, ClearColor, FrameRate, MaxStreamingUpdateDist, MaxUpdateDist, MaxViewDistanceOverride, PostProcess, PostProcessProxies, SceneLOD, ViewMode, ViewState
Inherited Variables from Engine.ActorComponent
bAttached, bNeedsReattach, bNeedsUpdateTransform, bTickInEditor, Owner, Scene, TickGroup

Enumerations Summary
Inherited Enumerations from Engine.SceneCaptureComponent
ESceneCaptureViewMode

Functions Summary
function SetCaptureParameters (const vector InMaskPosition, const float InMaskRadius, const vector InStartupPosition, const bool bOnlyWhenFacing)
function SetCaptureTargetTexture (const TextureRenderTarget2D InTextureTarget)
function SetFadingStartTimeSinceHit (const float InFadingStartTimeSinceHit)
Inherited Functions from Engine.SceneCaptureComponent
SetEnabled, SetFrameRate
Inherited Functions from Engine.ActorComponent
DetachFromAny, ForceUpdate, SetComponentRBFixed, SetTickGroup


Variables Detail

FadingDurationTime Source code

var float FadingDurationTime;
Fading duration time since fading starts - in second

FadingIntervalTime Source code

var float FadingIntervalTime;
Fading interval - in second

FadingPercentage Source code

var float FadingPercentage;
What % of color to apply - Range of 0 to 1

FadingStartTimeSinceHit Source code

var float FadingStartTimeSinceHit;
Fading start time after hit - in second - by default 10 seconds Infinite if less than zero

ForceLOD Source code

var int ForceLOD;
To do this properly we need to use ForcedLOD system of SkeletalMeshComponent

HitMaskCullDistance Source code

var int HitMaskCullDistance;
Hit Mask Cull Distance. If a point is further than this distance, it will ignore

MaterialIndex Source code

var int MaterialIndex;
Which section to render for mask

SkeletalMeshComp Source code

var transient const SkeletalMeshComponent SkeletalMeshComp;
mesh to render to target resource - Owner's SkeletalMes

TextureTarget Source code

var transient const TextureRenderTarget2D TextureTarget;
render target resource to set as target for capture


Functions Detail

SetCaptureParameters Source code

native noexport final function SetCaptureParameters ( const vector InMaskPosition, const float InMaskRadius, const vector InStartupPosition, const bool bOnlyWhenFacing )
interface for changing parameters

SetCaptureTargetTexture Source code

native noexport final function SetCaptureTargetTexture ( const TextureRenderTarget2D InTextureTarget )
interface for changing target texture

SetFadingStartTimeSinceHit Source code

native noexport final function SetFadingStartTimeSinceHit ( const float InFadingStartTimeSinceHit )
interface for changing fading parameter. Negative will disable it.


Defaultproperties

defaultproperties
{
	MaterialIndex = 0
	ForceLOD = -1
	FadingStartTimeSinceHit = 10.f
	FadingPercentage = 0.99f
	FadingDurationTime = 50.f
	FadingIntervalTime = 3.f

	HitMaskCullDistance = 100.f
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:55.884 - Created with UnCodeX