Helper class for guides/hair.
Gets the number of guides.
Return type: | int |
---|---|
Returns: | Guide count. |
Gets the number of segments per guide (number of points is one more than this).
Return type: | int |
---|---|
Returns: | Number of segments per guide. |
Gets the number of points per guide. (One more than segments.)
Return type: | int |
---|---|
Returns: | Number of points per guide. |
Gets the number of points per segment.
Return type: | int |
---|---|
Returns: | Number of points per segment. |
Gets a list of points for the guides.
Return type: | list of Vector |
---|---|
Returns: | Point list. |
Set the point p at index id.
Parameters: |
|
---|---|
Raises IndexError: | |
If the point index id is out of range : 0<=id<GetPointCount(). |
Gets the corresponding hair object.
Return type: | HairObject |
---|---|
Returns: | Hair object. |
Gets the selection state.
Parameters: | mode (int) – Selection mode:
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: | BaseSelect | ||||||||||||||
Returns: | The selection or None. |
Sets the selection state.
Parameters: |
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Return type: | bool |
||||||||||||||
Returns: | True if successful, otherwise False. |
Converts the selection state.
Parameters: |
|
---|
Copies the guide data from src to this instance.
Parameters: | src (BaseSelect) – Source. |
---|---|
Return type: | bool |
Returns: | True if successful, otherwise False. |
Gets the tangend of guide at segment and t.
Parameters: |
|
---|
Create splines from the guides.
Return type: | SplineObject |
---|---|
Returns: | Created splines. |
Changes all the points for the guides into a local coordinate system.
Changes all the points for the guides into the world coordinate system.
Gets the root UV at index.
Parameters: | index (int) – Guide index. |
---|---|
Return type: | Vector |
Gets the transformation matrix list.
Return type: | list of Matrix |
---|---|
Returns: | The transformation matrix list. |
Gets the flags.
Return type: | int | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns: | Flags:
|
Sets the flags.
Parameters: | flags (int) – New flags:
|
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return type: | int | ||||||||||
Returns: | Old flags. |