morphing
Controls if the renderable has legacy vertex morphing targets, zero by default. This is required to enable GPU morphing.
For legacy morphing, the attached VertexBuffer must provide data in the appropriate VertexAttribute slots (MORPH_POSITION_0 etc). Legacy morphing only supports up to 4 morph targets and will be deprecated in the future. Legacy morphing must be enabled on the material definition: either via the legacyMorphing material attribute or by calling filamat.MaterialBuilder.useLegacyMorphing().
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the number of morph targets
Controls if the renderable has vertex morphing targets, zero by default. This is required to enable GPU morphing.
Filament supports two morphing modes: standard (default) and legacy.
For standard morphing, A MorphTargetBuffer must be provided. Standard morphing supports up to CONFIG_MAX_MORPH_TARGET_COUNT morph targets.
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the morph target buffer
Controls if the renderable has legacy vertex morphing targets, zero by default. This is required to enable GPU morphing.
For legacy morphing, the attached VertexBuffer must provide data in the appropriate VertexAttribute slots (MORPH_POSITION_0 etc). Legacy morphing only supports up to 4 morph targets and will be deprecated in the future. Legacy morphing must be enabled on the material definition: either via the legacyMorphing material attribute or by calling filamat.MaterialBuilder.useLegacyMorphing().
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the number of morph targets
Controls if the renderable has vertex morphing targets, zero by default. This is required to enable GPU morphing.
Filament supports two morphing modes: standard (default) and legacy.
For standard morphing, A MorphTargetBuffer must be provided. Standard morphing supports up to CONFIG_MAX_MORPH_TARGET_COUNT morph targets.
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the morph target buffer
Controls if the renderable has legacy vertex morphing targets, zero by default. This is required to enable GPU morphing.
For legacy morphing, the attached VertexBuffer must provide data in the appropriate VertexAttribute slots (MORPH_POSITION_0 etc). Legacy morphing only supports up to 4 morph targets and will be deprecated in the future. Legacy morphing must be enabled on the material definition: either via the legacyMorphing material attribute or by calling filamat.MaterialBuilder.useLegacyMorphing().
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the number of morph targets
Controls if the renderable has vertex morphing targets, zero by default. This is required to enable GPU morphing.
Filament supports two morphing modes: standard (default) and legacy.
For standard morphing, A MorphTargetBuffer must be provided. Standard morphing supports up to CONFIG_MAX_MORPH_TARGET_COUNT morph targets.
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the morph target buffer
Controls if the renderable has legacy vertex morphing targets, zero by default. This is required to enable GPU morphing.
For legacy morphing, the attached VertexBuffer must provide data in the appropriate VertexAttribute slots (MORPH_POSITION_0 etc). Legacy morphing only supports up to 4 morph targets and will be deprecated in the future. Legacy morphing must be enabled on the material definition: either via the legacyMorphing material attribute or by calling filamat.MaterialBuilder.useLegacyMorphing().
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the number of morph targets
Controls if the renderable has vertex morphing targets, zero by default. This is required to enable GPU morphing.
Filament supports two morphing modes: standard (default) and legacy.
For standard morphing, A MorphTargetBuffer must be provided. Standard morphing supports up to CONFIG_MAX_MORPH_TARGET_COUNT morph targets.
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the morph target buffer
Controls if the renderable has legacy vertex morphing targets, zero by default. This is required to enable GPU morphing.
For legacy morphing, the attached VertexBuffer must provide data in the appropriate VertexAttribute slots (MORPH_POSITION_0 etc). Legacy morphing only supports up to 4 morph targets and will be deprecated in the future. Legacy morphing must be enabled on the material definition: either via the legacyMorphing material attribute or by calling filamat.MaterialBuilder.useLegacyMorphing().
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the number of morph targets
Controls if the renderable has vertex morphing targets, zero by default. This is required to enable GPU morphing.
Filament supports two morphing modes: standard (default) and legacy.
For standard morphing, A MorphTargetBuffer must be provided. Standard morphing supports up to CONFIG_MAX_MORPH_TARGET_COUNT morph targets.
See also RenderableManager.setMorphWeights(), which can be called on a per-frame basis to advance the animation.
Return
Builder reference for chaining calls.
Parameters
the morph target buffer