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

Method unpackUpdate

Engine/source/T3D/missionMarker.cpp:167–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void MissionMarker::unpackUpdate(NetConnection * con, BitStream * stream)
168{
169 Parent::unpackUpdate(con, stream);
170 if(stream->readFlag())
171 {
172 MatrixF mat;
173 stream->readAffineTransform(&mat);
174 Parent::setTransform(mat);
175
176 Point3F scale;
177 mathRead(*stream, &scale);
178 setScale(scale);
179 }
180}
181
182void MissionMarker::initPersistFields()
183{

Callers

nothing calls this directly

Calls 8

mathReadFunction · 0.85
setHiddenFunction · 0.85
readFlagMethod · 0.80
readAffineTransformMethod · 0.80
findObjectFunction · 0.50
readSTStringMethod · 0.45
readMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected