Skip to content

PBRuleNodeMesh

Class in Engine · Engine.PBRuleNodeMesh · native

Object › PBRuleNodeBase › PBRuleNodeMesh

Using it from Lua
h7.find_all("PBRuleNodeMesh")            -- live instances
h7.find_class("Engine.PBRuleNodeMesh")   -- the class
h7.hook("Engine.PBRuleNodeMesh.PickRandomBuildingMesh", fn)

Structs

BuildingMatOverrides

FieldType
MaterialOptionsarray<MaterialInterface>

BuildingMeshInfo

FieldType
MeshStaticMesh
DimXfloat
DimZfloat
Chancefloat
TranslationDistributionVector
RotationDistributionVector
bMeshScaleTranslationbool
bOverrideMeshLightMapResbool
OverriddenMeshLightMapResint
MaterialOverridesarray<MaterialInterface>
SectionOverridesarray<BuildingMatOverrides>
Defaults
DimX=512.0
DimZ=512.0
Chance=1.0
OverriddenMeshLightMapRes=32

Properties

NameTypeNotes
bBlockAllbool
bDoOcclusionTestbool
BuildingMeshesarray<BuildingMeshInfo>
PartialOccludedBuildingMeshBuildingMeshInfo

Functions

NameDeclaration
PickRandomBuildingMeshnative function int PickRandomBuildingMesh()

Default values

bDoOcclusionTest=TRUE

Inherited

FromMembers
PBRuleNodeBase7 properties, 0 functions
Object13 properties, 308 functions