Skip to content

ModelComponent

Class in Engine · Engine.ModelComponent · native

Object › Component › ActorComponent › PrimitiveComponent › ModelComponent

Using it from Lua
h7.find_all("ModelComponent")            -- live instances
h7.find_class("Engine.ModelComponent")   -- the class

Properties

NameTypeNotes
ComponentIndexintconst, transient, native
Elementsarrayconst, transient, native
Modelobjectconst, transient, native
Nodesarrayconst, transient, native
ZoneIndexintconst, transient, native

Default values

LightingChannels=(BSP=TRUE,bInitialized=TRUE)
CastShadow=TRUE
bAcceptsLights=TRUE
bAcceptsStaticDecals=TRUE
bAcceptsDecals=TRUE
bUsePrecomputedShadows=TRUE
bUseAsOccluder=TRUE

Inherited

FromMembers
PrimitiveComponent107 properties, 46 functions
ActorComponent7 properties, 4 functions
Component2 properties, 0 functions
Object13 properties, 308 functions