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:
- 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:
- 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:
object (
Object) – Object (never None)modifier (
ParticleSystemModifier) – Particle modifier (never None)particle (
Particle) – hair particle (never None)
- Returns:
Co, Exported hairkey location (array of 3 items, in [-inf, inf])
- Return type:
- co_object_set(object, modifier, particle, co)
Set hairkey location with particle and modifier data
- Parameters:
object (
Object) – Object (never None)modifier (
ParticleSystemModifier) – Particle modifier (never None)particle (
Particle) – hair particle (never None)co (
mathutils.Vector) – Co, Specified hairkey location (array of 3 items, in [-inf, inf])
- 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:
- 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