1
0
KF2-Dev-Scripts/Engine/Classes/ImageReflectionShadowPlaneComponent.uc

47 lines
1.1 KiB
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class ImageReflectionShadowPlaneComponent extends PrimitiveComponent
native(Mesh)
placeable
editinlinenew;
/** Whether to render the reflection. */
var() bool bEnabled;
var plane ReflectionPlane;
cpptext
{
protected:
// ActorComponent interface.
virtual void SetParentToWorld(const FMatrix& ParentToWorld);
virtual void Attach();
virtual void UpdateTransform();
virtual void Detach( UBOOL bWillReattach = FALSE );
}
/**
* Changes the enabled state of the image reflection component.
* @param bSetEnabled - The new value for bEnabled.
*/
final native function SetEnabled(bool bSetEnabled);
defaultproperties
{
bEnabled=true
ReflectionPlane=(X=0.0,Y=0.0,Z=1.0,W=86.0)
bCastDynamicShadow=FALSE
BlockRigidBody=FALSE
CollideActors=FALSE
bForceDirectLightMap=FALSE
bAcceptsDynamicLights=FALSE
bAcceptsLights=FALSE
CastShadow=FALSE
bUsePrecomputedShadows=FALSE
bAcceptsStaticDecals=FALSE
bAcceptsDynamicDecals=FALSE
bUseAsOccluder=FALSE
HiddenGame=true
}