Contents

setField(at:name:value:)

Sets the value of the named field at the given path, wrapping the typed value in a USDValue.

Declaration

func setField<T>(at path: USDLayer.Path, name: USDToken, value: T) where T : USDValueProtocol

Parameters

  • path:

    The path of the spec to update.

  • name:

    The field name.

  • value:

    The typed value to store.

See Also

Reading and authoring fields