Warning: Declaration of action_plugin_linebreak::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/linebreak/action.php on line 41
Warning: Declaration of action_plugin_markdownextra::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/markdownextra/action.php on line 16
Warning: Declaration of action_plugin_syntaxhighlighter3_action::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/syntaxhighlighter3/action/action.php on line 28
====== 004 Blueprint 複雑な計算式はMathExpession ======
===== 概要 =====
複雑な計算式はAdd Math Expressionプラグインを使う。
計算は数式を直接入れられるMath Expessionが便利。
{{:wiki:ue4:tips:ue4_math_expession01.png?300|}}
1+2*3
{{:wiki:ue4:tips:ue4_math_expession02.png?300|}}
Value1+Value2
数値以外を放れば自動的に変数に置き換わります。また、三角関数やClamp、Roundといった計算もそのまま書けば認識します。
[[https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/MathNode/index.html|Unreal Engine | Math Expression Node]]