525template <
typename Base,
size_t integer_bits,
size_t decimal_bits>
Extended geoset with 32-bit index start to support HD models with > 65535 indices.
ModelGeosetHD(const ModelGeosetHD &geo)
ModelGeosetHD(ModelGeoset &geo)
ModelGeosetHD & operator=(const ModelGeosetHD &geo)
Sub-block header for animated values in M2 models.
Tracks character-specific model state (hand closure, character flag).
On-disk particle emitter definition in an M2 file.
vector_2fp_6_9 multiTextureParam0[2]
AnimationBlock SpeedVariation
vector_2fp_6_9 multiTextureParam1[2]
AnimationBlock HorizontalRange
AnimationBlock VerticalRange
uint16 ParticleColorIndex
int16 TextureTileRotation
AnimationBlock EmissionRate
int32 ofsParticleFileName
AnimationBlock EmissionAreaWidth
AnimationBlock EmissionSpeed
fp_2_5 multiTextureParamX[2]
AnimationBlock EmissionAreaLength
An animation sequence entry in the M2 model (block B).
On-disk attachment point definition in an M2 file.
On-disk bone definition (block E) in an M2 file.
AnimationBlock translation
AnimationBlock AnimBlock4
AnimationBlock transTarget
AnimationBlock transTarget
A submesh/geoset within a model LOD view (one material + draw call).
AnimationBlock useAttenuation
AnimationBlock ambientIntensity
AnimationBlock ambientColor
AnimationBlock diffuseIntensity
AnimationBlock diffuseColor
AnimationBlock attenuationStart
AnimationBlock attenuationEnd
FakeAnimationBlock opacity
FakeAnimationBlock Intensity
FakeAnimationBlock colors
Lod part, A texture unit (sub of material)
A vertex as stored in the M2 file (position, bone weights, normal, texcoord).
Axis-aligned bounding sphere.
glm::vec3 max
Maximum corner of the bounding box.
glm::vec3 min
Minimum corner of the bounding box.
float radius
Bounding sphere radius.
A simple vertex with texture coordinates and position.
float tv
Texture coordinates.