KudanAR - Android  1.6.0
ARBlendShapeChannel Class Reference

Public Member Functions

 ARBlendShapeChannel (long nativeMem)
 
void addShape (ARBlendShape shape)
 
void setInfluence (float influence)
 
float getInfluence ()
 
List< ARBlendShapegetShapes ()
 

Detailed Description

A class representing a blend shape channel. This holds a list of all ARBlendShape's in this channel and the influence this channel has over a ARMesh.

Constructor & Destructor Documentation

◆ ARBlendShapeChannel()

ARBlendShapeChannel.ARBlendShapeChannel ( long  nativeMem)

Initialises ARBlendShapeChannel with a pointer to a native object holding the ARBlendShapeChannel.

Parameters
nativeMemPointer to a wrapped native object holding the ARBlendShapeChannel.

Member Function Documentation

◆ addShape()

void ARBlendShapeChannel.addShape ( ARBlendShape  shape)

Adds ARBlendShape to ARBlendShapeChannel list of ARBlendShape's.

Parameters
shapeARBlendShape being added.

◆ getInfluence()

float ARBlendShapeChannel.getInfluence ( )

Returns the influence a ARBlendShapeChannel has over a ARMesh.

Returns
float Influence ARBlendShapeChannel has over mesh. Values range 0..1.

◆ getShapes()

List<ARBlendShape> ARBlendShapeChannel.getShapes ( )

Returns a list of all the ARBlendShape's in the ARBlendShapeChannel.

Returns
List<ARBlendhape> List of ARBlendShape's in ARBlendShapeChannel.

◆ setInfluence()

void ARBlendShapeChannel.setInfluence ( float  influence)

Sets the influence ARBlendshapeChannel has over a ARMesh.

Parameters
influenceInfluence ARBlendShapeChannel has over mesh. Values range 0..1.

The documentation for this class was generated from the following file: