Loading...
Searching...
No Matches
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...

#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()));
Provides a container which may hold any type, and provides introspection and iteration over array typ...
Definition: value.h:164
A special value type that can be used to explicitly author an opinion for an attribute's default valu...
Definition: types.h:608

Definition at line 608 of file types.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const SdfValueBlock block) const
inline

Definition at line 610 of file types.h.

◆ operator==()

bool operator== ( const SdfValueBlock block) const
inline

Definition at line 609 of file types.h.

Friends And Related Function Documentation

◆ hash_value

size_t hash_value ( const SdfValueBlock block)
friend

Definition at line 613 of file types.h.


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