ProcBuilding
Class in Engine · Engine.ProcBuilding · native, placeable
Object › Actor › Brush › Volume › ProcBuilding
Using it from Lua
h7.find_all("ProcBuilding") -- live instances
h7.find_class("Engine.ProcBuilding") -- the class
h7.hook("Engine.ProcBuilding.BreakFractureComponent", fn)
Constants
| Name | Value |
PROCBUILDING_VERSION | 1 |
ROOF_MINZ | 0.7 |
Enums
EBuildingStatsBrowserColumns
BSBC_Name = 0, BSBC_Ruleset = 1, BSBC_NumStaticMeshComps = 2, BSBC_NumInstancedStaticMeshComps = 3, BSBC_NumInstancedTris = 4, BSBC_LightmapMemBytes = 5, BSBC_ShadowmapMemBytes = 6, BSBC_LODDiffuseMemBytes = 7, BSBC_LODLightingMemBytes = 8
EPBCornerType
EPBC_Default = 0, EPBC_Chamfer = 1, EPBC_Round = 2
EScopeEdge
EPSA_Top = 0, EPSA_Bottom = 1, EPSA_Left = 2, EPSA_Right = 3, EPSA_None = 4
Structs
PBEdgeInfo
PBFaceUVInfo
PBFracMeshCompInfo
PBMaterialParam
PBMemUsageInfo
| Field | Type |
Building | ProcBuilding |
Ruleset | ProcBuildingRuleset |
NumStaticMeshComponent | int |
NumInstancedStaticMeshComponents | int |
NumInstancedTris | int |
LightmapMemBytes | int |
ShadowmapMemBytes | int |
LODDiffuseMemBytes | int |
LODLightingMemBytes | int |
PBMeshCompInfo
PBScope2D
| Field | Type |
ScopeFrame | Matrix |
DimX | float |
DimZ | float |
PBScopeProcessInfo
Properties
Functions
| Name | Declaration |
BreakFractureComponent | native function BreakFractureComponent(FracturedStaticMeshComponent Comp, vector BoxMin, vector BoxMax) |
ClearBuildingMeshes | native function ClearBuildingMeshes() |
FindComponentsForTopLevelScope | native function array<StaticMeshComponent> FindComponentsForTopLevelScope(INT TopLevelScopeIndex) |
FindEdgeForTopLevelScope | native function int FindEdgeForTopLevelScope(int TopLevelScopeIndex, EScopeEdge Edge) |
GetAllGroupedProcBuildings | native function GetAllGroupedProcBuildings(out array<ProcBuilding> OutSet) |
GetBaseMostBuilding | native function ProcBuilding GetBaseMostBuilding() |
Default values
bColored=TRUE
BrushColor=(R=222,G=255,B=135,A=255)
bForceOctreeSNFilter=TRUE
bHidden=False
bEdShouldSnap=true
bStatic=TRUE
bNoDelete=TRUE
bMovable=false
bCollideActors=true
bBlockActors=true
bWorldGeometry=true
bGameRelevant=true
bRouteBeginPlayEvenIfStatic=false
bCollideWhenPlacing=false
bPathColliding=TRUE
bGenerateRoofMesh=TRUE
bSplitWallsAtRoofLevels=TRUE
bSplitWallsAtWallEdges=TRUE
bBuildingBrushCollision=TRUE
SimpleMeshMassiveLODDistance=10000.0
RenderToTexturePullBackAmount=125
LODRenderToTextureScale=1.0
RoofLightmapRes=64
NonRectWallLightmapRes=64
Inherited
| From | Members |
| Volume | 4 properties, 7 functions |
| Brush | 9 properties, 0 functions |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |