public class BakedLightmap : VisualInstance

Inheritance Chain

Constructors

    public BakedLightmap()

Properties

    public float BakeCellSize { get; set; }

    public float BakeEnergy { get; set; }

    public Vector3 BakeExtents { get; set; }

    public bool BakeHdr { get; set; }

    public BakeModeEnum BakeMode { get; set; }

    public float BakePropagation { get; set; }

    public BakeQualityEnum BakeQuality { get; set; }

    public float CaptureCellSize { get; set; }

    public string ImagePath { get; set; }

    public BakedLightmapData LightData { get; set; }

Methods

    public BakeError Bake(Node fromNode = null, bool createVisualDebug = false)

    public void DebugBake()

    public float GetBakeCellSize()

Getter for BakeCellSize

    public BakeModeEnum GetBakeMode()

Getter for BakeMode

    public BakeQualityEnum GetBakeQuality()

Getter for BakeQuality

    public float GetCaptureCellSize()

Getter for CaptureCellSize

    public float GetEnergy()

Getter for BakeEnergy

    public Vector3 GetExtents()

Getter for BakeExtents

    public string GetImagePath()

Getter for ImagePath

    public BakedLightmapData GetLightData()

Getter for LightData

    public float GetPropagation()

Getter for BakePropagation

    public bool IsHdr()

Getter for BakeHdr

    public void SetBakeCellSize(float bakeCellSize)

Setter for BakeCellSize

    public void SetBakeMode(BakeModeEnum bakeMode)

Setter for BakeMode

    public void SetBakeQuality(BakeQualityEnum bakeQuality)

Setter for BakeQuality

    public void SetCaptureCellSize(float captureCellSize)

Setter for CaptureCellSize

    public void SetEnergy(float energy)

Setter for BakeEnergy

    public void SetExtents(Vector3 extents)

Setter for BakeExtents

    public void SetHdr(bool hdr)

Setter for BakeHdr

    public void SetImagePath(string imagePath)

Setter for ImagePath

    public void SetLightData(BakedLightmapData data)

Setter for LightData

    public void SetPropagation(float propagation)

Setter for BakePropagation

Inner Types

BakeError

Name Value Description
Ok 0  
NoSavePath 1  
NoMeshes 2  
CantCreateImage 3  
UserAborted 4  

BakeModeEnum

Name Value Description
ConeTrace 0  
RayTrace 1  

BakeQualityEnum

Name Value Description
Low 0  
Medium 1  
High 2  
Tags: