MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / unpackData

Method unpackData

Engine/source/afx/ce/afxModel.cpp:288–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void afxModelData::unpackData(BitStream* stream)
289{
290 Parent::unpackData(stream);
291
292 UNPACKDATA_ASSET(Shape);
293 sequence = stream->readSTString();
294 stream->read(&seq_rate);
295 stream->read(&seq_offset);
296 stream->read(&alpha_mult);
297 stream->read(&use_vertex_alpha);
298 stream->read(&force_on_material_flags);
299 stream->read(&force_off_material_flags);
300 texture_filtering = stream->readFlag();
301 stream->read(&fog_mult);
302
303 remap_txr_tags = stream->readSTString();
304
305 overrideLightingOptions = stream->readFlag();
306 receiveSunLight = stream->readFlag();
307 useAdaptiveSelfIllumination = stream->readFlag();
308 useCustomAmbientLighting = stream->readFlag();
309 customAmbientForSelfIllumination = stream->readFlag();
310 stream->read(&customAmbientLighting);
311 receiveLMLighting = stream->readFlag();
312
313 stream->read(&shadowSize);
314 stream->read(&shadowMaxVisibleDistance);
315 stream->read(&shadowProjectionDistance);
316 stream->read(&shadowSphereAdjust);
317}
318
319void afxModelData::onPerformSubstitutions()
320{

Callers

nothing calls this directly

Calls 3

readFlagMethod · 0.80
readSTStringMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected