Attribute
@propertyWrapper
public class Attribute<T> : MaxIOComponent where T : MaxAttributeValue
Max Attribute wrapper (R/W)
Parameters
style
|
display style in Inspector |
label
|
label in Inspector, optional |
name
|
name to be used within object & Inspector |
transitional
|
if true, value is not stored within Max patch |
-
Undocumented
Declaration
Swift
public var onChange: ((T) -> Void)?
-
Undocumented
Declaration
Swift
public var wrappedValue: T { get set }
-
Undocumented
Declaration
Swift
public init(_ name: String, style: AttributeStyle = .m_text, label: String? = nil, transitional: Bool = false, _ bindingProvider: @escaping () -> MaxBinding<T>)
-
Undocumented
Declaration
Swift
public func accept<V>(visitor: V) where V : MaxClassIOVisitor