HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Detail::DomainScaleAttribs Struct Reference

#include <GU_Detail.h>

Public Member Functions

bool hasScale () const
 
float apply (GA_Offset off, float uval, int side) const
 
float apply (const GEO_Primitive *prim, float uval, int side) const
 

Public Attributes

GA_ROHandleF scale1
 
GA_ROHandleF scale2
 

Detailed Description

Parameter pack for how to scale uunit+ulen domains by attributes. The attribute is a primitive attribute. NOTE: If scaling is present, internal divisions will be rebuilt to evenly distriubte the end points.

Definition at line 1488 of file GU_Detail.h.

Member Function Documentation

float GU_Detail::DomainScaleAttribs::apply ( GA_Offset  off,
float  uval,
int  side 
) const
inline

Definition at line 1496 of file GU_Detail.h.

float GU_Detail::DomainScaleAttribs::apply ( const GEO_Primitive prim,
float  uval,
int  side 
) const
bool GU_Detail::DomainScaleAttribs::hasScale ( ) const
inline

Definition at line 1492 of file GU_Detail.h.

Member Data Documentation

GA_ROHandleF GU_Detail::DomainScaleAttribs::scale1

Definition at line 1490 of file GU_Detail.h.

GA_ROHandleF GU_Detail::DomainScaleAttribs::scale2

Definition at line 1490 of file GU_Detail.h.


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