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

Method GetTransform

Source/Engine/Serialization/JsonTools.cpp:220–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220Transform JsonTools::GetTransform(const Value& value)
221{
222 return Transform(
223 GetVector3(value, "Translation", Vector3::Zero),
224 GetQuaternion(value, "Orientation", Quaternion::Identity),
225 GetFloat3(value, "Scale", Float3::One)
226 );
227}
228
229void JsonTools::GetTransform(Transform& result, const Value& value)
230{

Callers 15

OnRenderMethod · 0.80
onJobRenderMethod · 0.80
IntersectsMethod · 0.80
OnEnableMethod · 0.80
OnUpdateMethod · 0.80
SerializeMethod · 0.80
DeserializeMethod · 0.80
DrawParticlesMethod · 0.80
DrawDebugMethod · 0.80
ProcessGroupParticlesMethod · 0.80
RasterizeMethod · 0.80
ProcessGroupAnimationMethod · 0.80

Calls 3

GetFloat3Function · 0.85
GetVector3Function · 0.70
TransformClass · 0.50

Tested by

no test coverage detected