14 #ifndef __diguySceneObject_H
15 #define __diguySceneObject_H
20 #define CPLUSPLUS_ONLY
24 class bdiScenarioSceneObject;
69 const char* get_name();
80 int set_name(
const char* name);
110 const char* get_filename();
118 const char* get_nodename();
125 const char* get_alternate_filename();
137 const char* get_fully_resolved_filename();
173 int add_vertex_to_user_defined(
float x,
float y,
float z);
185 int add_triangle_to_user_defined(
int index0,
int index1,
int index2);
187 #ifdef CPLUSPLUS_ONLY
201 int add_vertex_array_to_user_defined(
const float*
const vertices,
202 int num_vertices,
int skipBytes = 12);
218 int add_triangle_array_to_user_defined(
const int*
const indices,
int num_indices);
230 int add_triangle_to_user_defined(
const float*
const pos0,
231 const float*
const pos1,
const float*
const pos2);
244 int build_user_defined();
264 int set_render_mode_shader(
const char* shader_name,
265 const char* render_mode = NULL);
274 void reset_render_mode_shader_to_default(
const char* render_mode = NULL);
287 const char* get_render_mode_shader(
const char* render_mode = NULL);
327 int set_temporary_current_shader(
const char* shader_name);
336 void reset_current_shader_to_default();
363 void reset_shader_instance_variables_to_initial_values();
372 void reset_shader_instance_variables_to_program_defaults();
378 int set_shader_program(
const char* shader_name);
395 int set_position(
float x,
float y,
float z);
396 int get_position(
float* x,
float* y,
float* z);
399 int set_orientation(
float rz,
float rx,
float ry);
400 int get_orientation(
float* rz,
float* rx,
float* ry);
403 int set_scale(
float sx,
float sy,
float sz);
404 int get_scale(
float* sx,
float* sy,
float* sz);
406 int set_filename(
const char* file_name);
407 int get_is_sky_box();
408 int set_is_sky_box(
int skybox);
418 #ifdef CPLUSPLUS_ONLY
439 int get_include_in_octtree();
440 int set_include_in_octtree(
int val);
442 int set_include_in_physics_sim_scene(
int include_in_simulation_terrain);
443 int get_include_in_physics_sim_scene();
448 int get_min(
float* x,
float* y,
float* z);
449 int get_max(
float* x,
float* y,
float* z);
455 void set_scene_graph_mask(
unsigned int mask);
456 unsigned int get_scene_graph_mask();
459 int set_enabled(
int enabled);
462 int set_visible(
int visible);
468 #ifdef CPLUSPLUS_ONLY
472 bdiScenarioSceneObject* get_scripted_object() {
return m_scripted_object;}
491 bdiScenarioSceneObject* m_scripted_object;
493 friend class bdiScenarioSceneObject;
A class that represents the unique per-character shader object.
Definition: diguyGraphicsShaderInstance.h:55
diguyGraphicsTextureLoadingBehavior
Definition: diguy_constants.h:382
A scene object is a static (that is, non-moving) object in the scenario. Scene objects are the basic ...
Definition: diguySceneObject.h:43
diguyPhysicsCollisionGroup
This enumeration lists the collision groups that a DI-Guy physics sim object can be in...
Definition: diguy_constants.h:1719
This class implements shader lod system for use with DI-Guy character graphics.
Definition: diguyGraphicsShaderTechnique.h:152
This class implements shader programs for use with DI-Guy character graphics.
Definition: diguyGraphicsShaderProgram.h:96