Class TransformBaker

java.lang.Object
com.gaia3d.process.preprocess.sub.TransformBaker

public class TransformBaker extends Object
TransformBaker is responsible for baking the transformation matrices of a GaiaScene. This process is typically used to optimize the scene for rendering or further processing. It involves applying the transformations to the vertices of the scene's nodes and meshes,\ thus creating a final, baked version of the scene that is ready for use.
  • Constructor Details

    • TransformBaker

      public TransformBaker()
  • Method Details

    • bake

      public void bake(GaiaScene scene)
      Bakes the transformation of a GaiaScene.
      Parameters:
      scene - the GaiaScene to bake
    • bake

      public void bake(GaiaNode node)
      Bakes the transformation of aGaiaNode.
      Parameters:
      node - the GaiaNode to bake