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

Method GetY

Source/Engine/Visject/ShaderGraphValue.cpp:274–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274ShaderGraphValue ShaderGraphValue::GetY() const
275{
276 switch (Type)
277 {
278 case VariantType::Float2:
279 case VariantType::Float3:
280 case VariantType::Float4:
281 case VariantType::Double2:
282 case VariantType::Double3:
283 case VariantType::Double4:
284 return ShaderGraphValue(VariantType::Types::Float, Value + _subs[1]);
285 default:
286 return Zero;
287 }
288}
289
290ShaderGraphValue ShaderGraphValue::GetZ() const
291{

Callers 10

OnClipScissorsFunction · 0.80
GetHitButtonIndexFunction · 0.80
X11_MessageBoxDrawFunction · 0.80
SetClientBoundsMethod · 0.80
HandleEventMethod · 0.80
StartClippingCursorMethod · 0.80
SetClientBoundsMethod · 0.80
OnDrawCallMethod · 0.80
LineIntersectsRectMethod · 0.80
ProcessGroupTexturesMethod · 0.80

Calls 1

ShaderGraphValueClass · 0.85

Tested by

no test coverage detected