44 lines
1.1 KiB
Ucode
44 lines
1.1 KiB
Ucode
|
/*=============================================================================
|
||
|
Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
||
|
=============================================================================*/
|
||
|
|
||
|
class SpeedTreeActor extends Actor
|
||
|
native(SpeedTree)
|
||
|
placeable;
|
||
|
|
||
|
var() const editconst SpeedTreeComponent SpeedTreeComponent;
|
||
|
|
||
|
cpptext
|
||
|
{
|
||
|
public:
|
||
|
// AActor interface.
|
||
|
/**
|
||
|
* Function that gets called from within Map_Check to allow this actor to check itself
|
||
|
* for any potential errors and register them with map check dialog.
|
||
|
*/
|
||
|
#if WITH_EDITOR
|
||
|
virtual void CheckForErrors();
|
||
|
#endif
|
||
|
}
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
Begin Object Class=SpeedTreeComponent Name=SpeedTreeComponent0
|
||
|
bAllowApproximateOcclusion=TRUE
|
||
|
bForceDirectLightMap=TRUE
|
||
|
End Object
|
||
|
SpeedTreeComponent = SpeedTreeComponent0;
|
||
|
CollisionComponent = SpeedTreeComponent0;
|
||
|
Components.Add(SpeedTreeComponent0);
|
||
|
|
||
|
bEdShouldSnap = FALSE
|
||
|
|
||
|
bStatic = TRUE
|
||
|
bMovable = FALSE
|
||
|
bNoDelete = TRUE
|
||
|
|
||
|
bCollideActors = TRUE
|
||
|
bBlockActors = TRUE
|
||
|
bWorldGeometry = TRUE
|
||
|
}
|