ParticleHairKey(bpy_struct)

base class — bpy_struct

class bpy.types.ParticleHairKey(bpy_struct)

Particle key for hair particle system

co

Location of the hair key in object space (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

co_local

Location of the hair key in its local coordinate system, relative to the emitting face (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0))

Type:

mathutils.Vector

time

Relative time of key over hair length (in [0, inf], default 0.0)

Type:

float

weight

Weight for cloth simulation (in [0, 1], default 0.0)

Type:

float

co_object(object, modifier, particle)

Obtain hairkey location with particle and modifier data

Parameters:
Returns:

Co, Exported hairkey location (array of 3 items, in [-inf, inf])

Return type:

mathutils.Vector

co_object_set(object, modifier, particle, co)

Set hairkey location with particle and modifier data

Parameters:
classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References