maxon.frameworks.mesh_misc.MeshAttributeClassInterface

Description

By implementing this interface, it is possible to define a new mesh attribute type.
So that a data type can be attached to mesh vertices or to mesh polyvertices.

The interface needs to be implemented with the data type description, which has to be registered using maxon.frameworks.mesh_misc.MAXON_MESHATTRIBUTE() and maxon.MAXON_DATATYPE, and all arithmetic and comparison functions.

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

GetDataType(**kwargs)
InterpolateLinear(data1, data2, blend) Interpolates linearly between two values.

Methods Definition

MeshAttributeClassInterface.GetDataType(**kwargs)
MeshAttributeClassInterface.InterpolateLinear(data1, data2, blend)

Interpolates linearly between two values. Both addresses need to be cast to the appropriate data type.

Parameters: