unreal.FirstPersonPrimitiveType

class unreal.FirstPersonPrimitiveType

Bases: EnumBase

Determines how a primitive interacts with first person rendering.

C++ Source:

  • Module: Engine

  • File: PrimitiveComponent.h

FIRST_PERSON: FirstPersonPrimitiveType = Ellipsis

Primitive is rendered as first person and affected by first person properties on the camera.

Type:

1

NONE: FirstPersonPrimitiveType = Ellipsis

Primitive does not interact with first person rendering.

Type:

0

WORLD_SPACE_REPRESENTATION: FirstPersonPrimitiveType = Ellipsis

Primitive represents a first person primitive in world space. This is the primitive that other players would see and is used to cast shadow onto the ground among other things. Implicitly sets bCastHiddenShadow=false and bOwnerNoSee=true internally, which is required for first person shadow to work correctly with VSM.

Type:

2