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

Method GetX

Source/Engine/Visject/ShaderGraphValue.h:312–315  ·  view source on GitHub ↗

Gets the X component of the value. Valid only for single or vector types. The X component.

Source from the content-addressed store, hash-verified

310 /// </summary>
311 /// <returns>The X component.</returns>
312 ShaderGraphValue GetX() const
313 {
314 return ShaderGraphValue(VariantType::Types::Float, Value + _subs[0]);
315 }
316
317 /// <summary>
318 /// Gets the Y component of the value. Valid only for vector types.

Callers 15

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
RayCastMethod · 0.80
GetPatchCoordMethod · 0.80
LineIntersectsRectMethod · 0.80
ProcessGroupTexturesMethod · 0.80

Calls 1

ShaderGraphValueClass · 0.85

Tested by

no test coverage detected