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

Method GetRay

Source/Engine/Serialization/JsonTools.cpp:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190Ray JsonTools::GetRay(const Value& value)
191{
192 return Ray(
193 GetVector3(value, "Position", Vector3::Zero),
194 GetVector3(value, "Direction", Vector3::Forward)
195 );
196}
197
198Matrix JsonTools::GetMatrix(const Value& value)
199{

Callers

nothing calls this directly

Calls 2

GetVector3Function · 0.70
RayFunction · 0.50

Tested by

no test coverage detected