MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Deserialize

Method Deserialize

Source/Engine/Audio/AudioSource.cpp:361–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361void AudioSource::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
362{
363 // Base
364 Actor::Deserialize(stream, modifier);
365
366 DESERIALIZE_MEMBER(Volume, _volume);
367 DESERIALIZE_MEMBER(Pitch, _pitch);
368 DESERIALIZE_MEMBER(Pan, _pan);
369 DESERIALIZE_MEMBER(MinDistance, _minDistance);
370 DESERIALIZE_MEMBER(Attenuation, _attenuation);
371 DESERIALIZE_MEMBER(DopplerFactor, _dopplerFactor);
372 DESERIALIZE_MEMBER(Loop, _loop);
373 DESERIALIZE_MEMBER(PlayOnStart, _playOnStart);
374 DESERIALIZE_MEMBER(StartTime, _startTime);
375 DESERIALIZE_MEMBER(AllowSpatialization, _allowSpatialization);
376 DESERIALIZE(Clip);
377}
378
379bool AudioSource::HasContentLoaded() const
380{

Callers

nothing calls this directly

Calls 1

DeserializeFunction · 0.50

Tested by

no test coverage detected