HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfValueBlock Class Reference

#include <types.h>

Public Member Functions

bool operator== (const SdfValueBlock &block) const
 
bool operator!= (const SdfValueBlock &block) const
 

Friends

size_t hash_value (const SdfValueBlock &block)
 

Detailed Description

A special value type that can be used to explicitly author an opinion for an attribute's default value or time sample value that represents having no value. Note that this is different from not having a value authored.

One could author such a value in two ways.

attribute->SetDefaultValue(VtValue(SdfValueBlock());
...
layer->SetTimeSample(attribute->GetPath(), 101, VtValue(SdfValueBlock()));

Definition at line 596 of file types.h.

Member Function Documentation

bool SdfValueBlock::operator!= ( const SdfValueBlock block) const
inline

Definition at line 598 of file types.h.

bool SdfValueBlock::operator== ( const SdfValueBlock block) const
inline

Definition at line 597 of file types.h.

Friends And Related Function Documentation

size_t hash_value ( const SdfValueBlock block)
friend

Definition at line 601 of file types.h.


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