{"id":380,"date":"2011-11-29T12:42:17","date_gmt":"2011-11-29T12:42:17","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=380"},"modified":"2012-07-17T12:39:06","modified_gmt":"2012-07-17T12:39:06","slug":"wave-warp","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=380","title":{"rendered":"Wave Warp"},"content":{"rendered":"<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wave.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wave-1024x304.jpg\" alt=\"\" title=\"wave\" width=\"640\" height=\"190\" class=\"aligncenter size-large wp-image-1048 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wave-1024x304.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wave-300x89.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wave-680x202.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wave.jpg 1094w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\nThe Wave space warp creates a linear wave through world space. It affects geometry and behaves the same as the Wave modifier. Use the Wave space warp when you want the wave to affect a large number of objects, or to affect an object relative to its position in world space.<br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wavewarp.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wavewarp.jpg\" alt=\"\" title=\"Wave Warp Params\" width=\"267\" height=\"368\" class=\"alignright size-full wp-image-2593 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wavewarp.jpg 267w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/wavewarp-217x300.jpg 217w\" sizes=\"(max-width: 267px) 100vw, 267px\" \/><\/a><\/p>\n<h3>Wave Warp Parameter Description<\/h3>\n<h4><strong>Amp\/Amp 2<\/strong><\/h4>\n<p>Amplitude 1 produces a sine wave along the gizmo&#8217;s Y axis, while Amplitude 2 creates a wave along the X\taxis (although peaks and troughs appear in the same direction with both). Switching a value from positive to negative reverses the positions of peaks and troughs.<\/p>\n<h4><strong>Wave<\/strong><\/h4>\n<p>Specifies the distance in current units between the crests of both waves.<\/p>\n<h4><strong>Phase<\/strong><\/h4>\n<p>Shifts the wave pattern over the object. Positive numbers move the pattern in one direction, while negative numbers move it in the other. This effect is especially clear when animated.<\/p>\n<h4><strong>Decay<\/strong><\/h4>\n<p>Limits the effect of the wave generated from its origin. A decay value decreases the amplitude at increasing distance from the center. As this value increases, the wave is concentrated at the center and flattened until it disappears (completely decays).<\/p>\n<h4><strong>Animate<\/strong><\/h4>\n<p>Animate the wave<\/p>\n<h4><strong>Divs<\/strong><\/h4>\n<p>Number of divisions in the gizmo<\/p>\n<h4><strong>NumSegs<\/strong><\/h4>\n<p>Number of segments in the gizmo<\/p>\n<h4><strong>NumSides<\/strong><\/h4>\n<p>Number of sides in the gizmo<\/p>\n<h3>Wave Warp Class<\/h3>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaWaveWarp : MegaWarp<br \/>\n{<br \/>\n\tpublic float    amp;<br \/>\n\tpublic float    amp2;<br \/>\n\tpublic float    flex;<br \/>\n\tpublic float    wave;<br \/>\n\tpublic float    phase;<br \/>\n\tpublic bool     animate;<br \/>\n\tpublic float    Speed;<br \/>\n\tpublic int      divs;<br \/>\n\tpublic int      numSegs;<br \/>\n\tpublic int      numSides;<br \/>\n}[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Wave space warp creates a linear wave through world space. It affects geometry and behaves the same as the Wave modifier. Use the Wave space warp when you want [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":377,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/380"}],"collection":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=380"}],"version-history":[{"count":8,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/380\/revisions"}],"predecessor-version":[{"id":2597,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/380\/revisions\/2597"}],"up":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/377"}],"wp:attachment":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}