This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.modules.hair.HairGuides – hair guide class

Hair library class.

class c4d.modules.hair.HairLibrary

SuperClass

BaseList2D

Methods

HairLibrary.BlendColors(mode, colA, colB)

Gets the number of guides.

Parameters:
  • mode (int) – Blend mode. (See mhairmaterial.h for modes, e.g. HAIRMATERIAL_BLENDMODE_AVERAGE.)
  • colA (Vector) – First color
Return type:

Vector

Returns:

Resulting color.

HairLibrary.GetHairVersion()

Get the hair version.

Return type:int
Returns:Hair version number.

Table Of Contents

This Page