Lib.point.modify.MapPointAttributes - tixl3d/tixl GitHub Wiki
Sets the points attribute and color from input attributes. This can be very powerful to remap point attributes.
Different modes allow you to...
- distribute the curve range along all points
- or use different mapping ranges.
You can also connect a texture to provide an override for the curve.
Name (Relevancy & Type) | Description |
---|---|
Points (BufferWithViewsRequired) | - |
InputMode (Int32) | Defines how to normalized input value is computed for each point. - The default will use 0 for the first point and 1 for the last. Interpolating between. - F1 and F2 will use the point attributes. This can be very powerful, e.g. remap the age of particles to a color or size. - Random will assign a random value between 0 and 1 for each point. |
Strength (Single) | Defines how the effect is apply, with 0 effectively bypassing the effect. Note the values below 0 or above 1 are allowed but might yield unpredicicatable effects. |
Mapping (Int32) | Allows the initial input value to be remapped. Combining this with Range and Phase can be powerful to build transitions for animated effects. |
Range (Single) | Can rescale the range input range. Smaller value will effectively narrow the range or increase the number of repetitions respectively. |
Phase (Single) | Allows the range to swifted. This be useful to build transitions or cycle through repetitive configurations. |
WriteTo (Int32) | Defines to which attribute the result should be written to. |
WriteMode (Int32) | Allow different configuration of how the new values should be applied. |
MappingCurve (Curve) | Defines the actual remapping curve. Note that only the x-range between 0 and 1 is used. |
ValueTexture (Texture2D) | Allows to override the curve with an texture. |
WriteColor (Int32) | Defines how the gradient colors are applied. |
Gradient (Gradient) | Defines the colors to be applied for remapped input range. Tip: Try to use a HOLD interpolated gradient with Random input mode. |
Name | Type |
---|---|
Output | T3.Core.DataTypes.BufferWithViews |
Please help use to improve this documentation. Feel free to improve the description.
⚠ Everything else is automatically generated and will be overwritten regularly.