Exemplo n.º 1
0
 public void CreateRenderingData()
 {
     CreatureRenderModule.CreateRenderingData(
         creature_manager,
         ref vertices,
         ref normals,
         ref tangents,
         ref colors,
         ref uvs,
         ref triangles,
         ref final_indices);
 }
Exemplo n.º 2
0
    public void CreateRenderingData()
    {
        CreatureModule.CreatureMeshModifier mesh_modifier = null;
        if (creature_particles)
        {
            mesh_modifier = creature_particles.mesh_modifier;
        }

        CreatureRenderModule.CreateRenderingData(
            creature_manager,
            ref vertices,
            ref normals,
            ref tangents,
            ref colors,
            ref uvs,
            ref triangles,
            ref final_indices,
            mesh_modifier);
    }