Class: OpenUSD::Schema::Mesh

Inherits:
Base
  • Object
show all
Defined in:
lib/openusd/schema/mesh.rb

Overview

Convenience API for core Mesh topology and point attributes.

Instance Attribute Summary

Attributes inherited from Base

#prim

Instance Method Summary collapse

Methods inherited from Base

define, get, #initialize, #path, schema_type, #stage

Constructor Details

This class inherits a constructor from OpenUSD::Schema::Base

Instance Method Details

#subdivision_schemeToken?

Returns authored subdivision scheme.

Returns:

  • (Token, nil)

    authored subdivision scheme



21
22
23
# File 'lib/openusd/schema/mesh.rb', line 21

def subdivision_scheme
  get("subdivisionScheme")
end

#subdivision_scheme=(value) ⇒ Object

Author the subdivision scheme token.



26
27
28
# File 'lib/openusd/schema/mesh.rb', line 26

def subdivision_scheme=(value)
  set("subdivisionScheme", "token", value)
end