Class RibbonTrailMesh
Represents a straight ribbon-shaped PrimitiveMesh with variable width.
- Inheritance
-
RibbonTrailMesh
Remarks
RibbonTrailMesh represents a straight ribbon-shaped mesh with variable width. The ribbon is composed of a number of flat or cross-shaped sections, each with the same section_length and number of section_segments. A curve is sampled along the total length of the ribbon, meaning that the curve determines the size of the ribbon along its length.
This primitive mesh is usually used for particle trails.
See Also
Properties
curve
Determines the size of the ribbon along its length. The size of a particular section segment is obtained by multiplying the baseline size by the value of this curve at the given distance. For values smaller than 0
, the faces will be inverted. Should be a unit Curve.
var curve : Curve
Property Value
Remarks
section_length
The length of a section of the ribbon.
var section_length : float = 0.2
Property Value
Remarks
section_segments
The number of segments in a section. The curve is sampled on each segment to determine its size. Higher values result in a more detailed ribbon at the cost of performance.
var section_segments : int = 3
Property Value
Remarks
sections
The total number of sections on the ribbon.
var sections : int = 5
Property Value
Remarks
shape
Determines the shape of the ribbon.
var shape : int = 1
Property Value
Remarks
size
The baseline size of the ribbon. The size of a particular section segment is obtained by multiplying this size by the value of the curve at the given distance.
var size : float = 1.0