C4ValueProviderRef< SourceT > Class Template Reference

#include <C4MeshAnimation.h>

Inheritance diagram for C4ValueProviderRef< SourceT >:
Collaboration diagram for C4ValueProviderRef< SourceT >:

Public Member Functions

 C4ValueProviderRef (const SourceT &ref, C4Real scale)
bool Execute () override

Public Attributes

C4Real Value

Detailed Description

template<typename SourceT>
class C4ValueProviderRef< SourceT >

Definition at line 335 of file C4MeshAnimation.h.

Constructor & Destructor Documentation

◆ C4ValueProviderRef()

template<typename SourceT >
C4ValueProviderRef< SourceT >::C4ValueProviderRef ( const SourceT &  ref,
C4Real  scale 

Definition at line 338 of file C4MeshAnimation.h.

338  :
339  Ref(ref), Scale(scale) {}

Member Function Documentation

◆ Execute()

template<typename SourceT >
bool C4ValueProviderRef< SourceT >::Execute ( )

Implements StdMeshInstanceValueProvider.

Definition at line 341 of file C4MeshAnimation.h.

References CreateValueProviderFromArray(), Scale(), and StdMeshInstanceValueProvider::Value.

342  {
343  Value = Scale * Ref;
344  return true;
345  }
Here is the call graph for this function:

Member Data Documentation

◆ Value

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