java.lang.Object
com.gaia3d.basic.geometry.modifier.Modifier
com.gaia3d.basic.geometry.modifier.transform.GaiaBaker

public class GaiaBaker extends Modifier
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

    • GaiaBaker

      public GaiaBaker()
  • Method Details

    • apply

      public void apply(GaiaScene scene)
      Bakes the transformation of a GaiaScene.
      Overrides:
      apply in class Modifier
      Parameters:
      scene - the GaiaScene to bake
    • apply

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