18 #define CPLUSPLUS_ONLY
79 const char* get_name();
133 const char* get_shape_set_name();
146 const char* get_shape_set_shape_name();
161 const char* get_recommended_attachment_link_name();
175 #ifdef CPLUSPLUS_ONLY
190 float* get_lod_ranges();
205 int get_graphics_lod();
208 float get_graphics_lod_fraction();
211 bool get_lod_fades_out(
int lod);
215 void get_blend_shape_data(
int lod,
float fraction,
float weights[4],
int indexes[4]);
231 const char* get_shape_set_filename_for_lod(
int lod);
247 int get_num_meshes(
int lod);
283 int get_mesh_transform_at_index_for_lod(
int index,
int lod,
float* matrix,
int transpose = 0);
317 const char* get_switch_var_name();
333 int get_switch_value();
346 int get_is_hidden()
const;
349 int set_is_hidden(
int hidden);
353 const char * get_class_type()
const;
357 const char * get_object_type()
const;
360 const char * get_material_type()
const;
363 int get_is_pbr_ready()
const;
386 #ifdef CPLUSPLUS_ONLY
411 void* get_diguy_graphics_file_part(
int lod);
431 int get_graphics_state_switch_index();
443 int get_num_switched_graphics_states();
457 int set_state_switch_index(
int index);
475 int get_unique_color(
unsigned char* r,
unsigned char* g,
unsigned char* b);
488 int get_contains_skinned_file();
499 const char* find_appearance_parameter(
const char* parameter_name )
const;
520 int set_material_parameter_4f(
const char* parameter_name,
521 float x,
float y,
float z,
float w,
522 float blend_time = 0.0);
530 int get_material_parameter_4f(
const char* parameter_name,
531 float* x,
float* y,
float* z,
float* w);
546 unsigned char * get_variation_texture();
549 int get_variation_texture_size();
552 static int get_shared_variation_texture_size();
555 int get_num_variations();
558 const char * get_variation_name(
int variation_index);
561 int set_variation_index(
int variation_index);
564 int get_has_custom_variation();
567 int get_num_variation_components();
570 const char * get_variation_component_name(
int index);
573 int get_variation_component_row(
const char * name);
577 int set_variation_component_value(
int index,
float color_shift_r,
float color_shift_g,
float color_shift_b);
581 int get_variation_texture_row();
584 void set_variation_texture_data(
unsigned char* texture_data );
586 #ifdef CPLUSPLUS_ONLY
604 int get_shader_matrix_data(
int* num_matrices,
const float** matrix_data );
617 int get_are_shader_matrices_transposed();
632 #ifdef CPLUSPLUS_ONLY
679 virtual void build();
706 virtual void unbuild();
739 virtual void update();
811 virtual void draw(
int lod);
852 virtual void set_graphics_lod_ranges(
float* ranges);
880 virtual void set_graphics_lod(
int lod);
897 virtual void update_variation_texture(
int num_pixels,
unsigned char * pixel_data);
905 virtual void update_name_texture();
913 int get_decal_index()
const;
917 void set_decal_index(
int index);
920 const char* get_decal_text();
937 int get_bind_color_array(
int* num_colors,
const float** color_data);
945 virtual void instancing_state_changed(
int val);
949 #ifdef CPLUSPLUS_ONLY
954 int get_link_to_matrix_table(
int* num_matrices,
const float** lookup_data);
957 int get_bone_index_from_link_index(
int link_index);
962 int get_has_offset_matrix()
const;
965 int get_offset_matrix_4x4_ptr(
float* matrix,
int transpose = 0)
const;
975 int get_local_transformation_matrix_4x4_ptr(
float* matrix,
int transpose = 0)
const;
985 int get_local_transformation_matrix_4x4_ptr(
float* matrix,
int lod,
int transpose )
const;
988 int get_bounding_box(
float* bbox_min_x,
float* bbox_min_y,
float* bbox_min_z,
989 float* bbox_max_x,
float* bbox_max_y,
float* bbox_max_z );
999 #ifdef CPLUSPLUS_ONLY
1001 bdiShape* get_scripted_object() {
return m_scripted_object;}
1022 bdiShape* m_scripted_object;
1024 friend class bdiShape;
1025 friend class bdiGraphicsFactory;
A class that represents a shared material/textures combination.
Definition: diguyGraphicsState.h:44
A wrapper around a geometry file.
Definition: diguyGraphicsFile.h:32
A class that represents a shared mesh object.
Definition: diguyGraphicsMesh.h:87
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:81
A class that represents the unique per-character non-shared joint of a character. A diguyCharacter is...
Definition: diguyGraphicsLink.h:45
A class that represents the unique per-character non-shared mesh object. DI-Guy encapsulates its text...
Definition: diguyGraphicsShape.h:49