Skip to content

Latest commit

 

History

History
157 lines (86 loc) · 4.66 KB

model_render.md

File metadata and controls

157 lines (86 loc) · 4.66 KB

☃ model_render

Functions:

set_alpha

model_render.set_alpha(float): void

set_color

model_render.set_color(float_red, float_green, float_blue): void

override_material

model_render.override_material(material): void

Name Type
material c_material*

find_material

model_render.find_material(std::string name): c_material*

create_material

model_render.create_material(std::string material_name, std::string material_type, std::string material_data): c_material*

override_matrix

model_render.override_matrix(matrix): void

Name Type
matrix matrix3x4*

set_scroll_rate

model_render.set_scroll_rate(material, speed): void

Name Type
material c_material*
speed float

set_scroll_angle

model_render.set_scroll_angle(material, angle): void

Name Type
material c_material*
angle float

smooth_fade_alpha

model_render.smooth_fade_alpha(): float

get_normal_material

model_render.get_normal_material(): table c_material

get_classic_material

model_render.get_classic_material(): table c_material

get_retro_material

model_render.get_retro_material(): table c_material

get_glass_material

model_render.get_glass_material(): table c_material

get_flat_material

model_render.get_flat_material(): table c_material

get_schleimi_material

model_render.get_schleimi_material(): table c_material

get_holo_material

model_render.get_holo_material(): table c_material

get_granite_material

model_render.get_granite_material(): table c_material

get_oldschool_material

model_render.get_oldschool_material(): table c_material

get_glow_material

model_render.get_glow_material(): table c_material

get_base_material

model_render.get_base_material(): table c_material

get_ultimate_material

model_render.get_ultimate_material(): table c_material

get_animated_wireframe_material

model_render.get_animated_wireframe_material(): table c_material

get_texture_1_material

model_render.get_texture_1_material(): table c_material

get_texture_2_material

model_render.get_texture_2_material(): table c_material

get_texture_3_material

model_render.get_texture_3_material(): table c_material

get_skybox_texture_1_material

model_render.get_skybox_texture_1_material(): table c_material

get_skybox_texture_2_material

model_render.get_skybox_texture_2_material(): table c_material

get_skybox_texture_3_material

model_render.get_skybox_texture_3_material(): table c_material

get_first_material

model_render.get_first_material(): material_handle

get_next_material

model_render.get_next_material(handle): material_handle

Name Type
handle material_handle

is_invalid_material

model_render.is_invalid_material(): material_handle

get_material

model_render.get_material(handle): c_material*

Name Type
handle material_handle