bool BakeLighting { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The BakeLighting property of the ModelPropData class determines whether lighting should be baked into the model when it is used as a static prop. This property is a boolean value, where true indicates that lighting will be baked by default, and false means it will not.

Usage

To use the BakeLighting property, you can access it directly from an instance of the ModelPropData class. This property is particularly useful when you want to control the lighting behavior of static props in your scene.

Example usage:

ModelPropData modelData = new ModelPropData();
modelData.BakeLighting = true; // Enable lighting bake for static prop

Example

ModelPropData modelData = new ModelPropData();
modelData.BakeLighting = true; // Enable lighting bake for static prop