class TMaterialParameterCurve

template<class T, bool IsRenderProxy>
Inherits: TMaterialDataCommon<TGpuDataParamInfo<T>::TypeId, IsRenderProxy>

A handle that allows you to set a Material parameter.

Internally keeps a reference to the material parameters so that possibly expensive lookup of parameter name can be avoided each time the parameter is accessed, and instead the handle can be cached.

Public

Methods

Set

void Set(TAnimationCurve<T> value, u32 arrayIdx = 0) const

Get

const TAnimationCurve<T> &Get(u32 arrayIdx = 0) const