Static Public Member Functions | |
| static mixed | GetMeshPreview (mixed meshname, mixed res, mixed angh, mixed angv, mixed pixelformat, mixed qCustomRotation, mixed vCustomScale) |
Definition at line 4848 of file lua_pseudo_code.cpp.
| static mixed preview::GetMeshPreview | ( | mixed | meshname, | |
| mixed | res, | |||
| mixed | angh, | |||
| mixed | angv, | |||
| mixed | pixelformat, | |||
| mixed | qCustomRotation, | |||
| mixed | vCustomScale | |||
| ) | [inline, static] |
generate preview of meshes using rtt todo : cache(resolution) ? store in tmp dir ? TODO : (background options : starfield, black, certain color, some other material or texture) res (res x res) is the resulting texture resolution, must be 2^n angh,angv are the angles from which the preview is generated, defaults to 30°,45° returns matname ? todo : better texturename ?
Definition at line 4856 of file lua_pseudo_code.cpp.
1.5.6