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

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. More...

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 594 of file types.h.


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