DecalComponent¶
Class in Engine · Engine.DecalComponent · native, editinlinenew
Object › Component › ActorComponent › PrimitiveComponent › DecalComponent
Subclasses: H7CombatMapGridDecalComponent, H7LandscapeFilteredDecalComponent
Using it from Lua
Enums¶
EDecalTransform
DecalTransform_OwnerAbsolute = 0, DecalTransform_OwnerRelative = 1, DecalTransform_SpawnRelative = 2
EFilterMode
FM_None = 0, FM_Ignore = 1, FM_Affect = 2
Structs¶
DecalReceiver
| Field | Type |
|---|---|
Component | PrimitiveComponent |
RenderData | pointer |
Properties¶
| Name | Type | Notes |
|---|---|---|
BackfaceAngle | float | |
bDecalMaterialSetAtRunTime | bool | |
bFlipBackfaceDirection | bool | |
bHasBeenAttached | bool | transient, private |
BlendRange | Vector2D | |
bMovableDecal | bool | |
bNoClip | bool | |
bProjectOnBackfaces | bool | |
bProjectOnBSP | bool | |
bProjectOnHidden | bool | |
bProjectOnSkeletalMeshes | bool | |
bProjectOnStaticMeshes | bool | |
bProjectOnTerrain | bool | |
bStaticDecal | bool | const |
DecalMaterial | MaterialInterface | const, private |
DecalReceivers | array<DecalReceiver> | const, private |
DecalRotation | float | |
DecalTransform | EDecalTransform | const |
DepthBias | float | |
FarPlane | float | |
FieldOfView | float | |
Filter | array<Actor> | |
FilterMode | EFilterMode | |
FracturedStaticMeshComponentIndex | int | transient |
Height | float | |
HitBinormal | vector | |
HitBone | name | transient |
HitComponent | PrimitiveComponent | transient |
HitLevelIndex | int | transient |
HitLocation | vector | |
HitNodeIndex | int | transient |
HitNodeIndices | array | const, transient, private |
HitNormal | vector | |
HitTangent | vector | |
Location | vector | transient |
NearPlane | float | |
OffsetX | float | |
OffsetY | float | |
Orientation | rotator | transient |
ParentRelativeLocation | vector | |
ParentRelativeOrientation | rotator | |
ParentRelLocRotMatrix | matrix | const, transient, private |
Planes | array<Plane> | transient, private |
ReceiverImages | array<PrimitiveComponent> | |
ReleaseResourcesFence | pointer | const, transient, native |
SlopeScaleDepthBias | float | |
SortOrder | int | |
StaticReceivers | array | const, transient, native, private |
StreamingDistanceMultiplier | float | const |
TileX | float | |
TileY | float | |
Width | float |
Functions¶
| Name | Declaration |
|---|---|
GetDecalMaterial | final native function MaterialInterface GetDecalMaterial() |
IsWaitingForResetToDefaultsToComplete | final native function bool IsWaitingForResetToDefaultsToComplete() |
ResetToDefaults | final native function ResetToDefaults() |
SetDecalMaterial | final native function SetDecalMaterial(MaterialInterface NewDecalMaterial) |
Default values¶
bAcceptsLights=FALSE
bAcceptsDynamicLights=FALSE
bCastDynamicShadow=FALSE
bAcceptsStaticDecals=FALSE
bAcceptsDynamicDecals=FALSE
bMovableDecal=FALSE
Width=200
Height=200
TileX=1
TileY=1
NearPlane=0
FarPlane=300
FieldOfView=80
HitNodeIndex=-1
HitLevelIndex=-1
DepthBias=-0.00006
SlopeScaleDepthBias=0.0
BackfaceAngle=0.001
bProjectOnBSP=TRUE
bProjectOnSkeletalMeshes=TRUE
bProjectOnStaticMeshes=TRUE
bProjectOnTerrain=TRUE
BlendRange=(X=89.5,Y=180)
StreamingDistanceMultiplier=1.0
DecalTransform=DecalTransform_SpawnRelative
Inherited¶
| From | Members |
|---|---|
| PrimitiveComponent | 107 properties, 46 functions |
| ActorComponent | 7 properties, 4 functions |
| Component | 2 properties, 0 functions |
| Object | 13 properties, 308 functions |