Contents

field(at:name:)

Returns the value of the named field at the given path, or nil if no such field is authored.

Declaration

func field(at path: USDLayer.Path, name: USDToken) -> USDValue?

Parameters

  • path:

    The path to look up.

  • name:

    The field name.

Return Value

The field’s value, or nil if unauthored.

See Also

Reading and authoring fields