JSONDictValue (object)¶
バージョン 1.13.0 で追加.
A specialized JSONValue for dictionaries.
Methods¶
JSONDictValue ( in Color value ) | |
JSONDictValue ( in JSONDictValue other ) | |
JSONDictValue ( in Mat33 value ) | |
JSONDictValue ( in Mat44 value ) | |
JSONDictValue ( in Quat value ) | |
JSONDictValue ( in RGB value ) | |
JSONDictValue ( in RGBA value ) | |
JSONDictValue ( in Vec2 value ) | |
JSONDictValue ( in Vec3 value ) | |
JSONDictValue ( in Vec4 value ) | |
JSONDictValue ( in Xfo value ) | |
JSONDictValue () | |
appendDesc ? ( io String string ) | |
JSONDictValue | clone ? () |
JSONValue | get ? ( in String key ) |
Boolean | getBoolean ? ( in String key ) |
Color | getColor ? ( in String key ) |
Integer | getInteger ? ( in String key ) |
Mat44 | getMat44 ? ( in String key ) |
Quat | getQuat ? ( in String key ) |
Scalar | getScalar ? ( in String key ) |
String | getString ? ( in String key ) |
Vec2 | getVec2 ? ( in String key ) |
Vec3 | getVec3 ? ( in String key ) |
Vec4 | getVec4 ? ( in String key ) |
Xfo | getXfo ? ( in String key ) |
Boolean | has ? ( in String key ) |
merge ! ( in JSONDictValue other ) | |
set ! ( in String key, in JSONValue value ) | |
setBoolean ! ( in String key, in Boolean value ) | |
setColor ! ( in String key, in Color value ) | |
setInteger ! ( in String key, in Integer value ) | |
setMat44 ! ( in String key, in Mat44 value ) | |
setQuat ! ( in String key, in Quat value ) | |
setScalar ! ( in String key, in Scalar value ) | |
setString ! ( in String key, in String value ) | |
setVec2 ! ( in String key, in Vec2 value ) | |
setVec3 ! ( in String key, in Vec3 value ) | |
setVec4 ! ( in String key, in Vec4 value ) | |
setXfo ! ( in String key, in Xfo value ) | |
Color | toColor ? () |
Mat33 | toMat33 ? () |
Mat44 | toMat44 ? () |
Quat | toQuat ? () |
RGB | toRGB ? () |
RGBA | toRGBA ? () |
Vec2 | toVec2 ? () |
Vec3 | toVec3 ? () |
Vec4 | toVec4 ? () |
Xfo | toXfo ? () |
Methods in detail¶
JSONDictValue ( in Color value )
constructor provided a Color value
JSONDictValue ( in JSONDictValue other )
copy constructor
JSONDictValue ( in Mat33 value )
constructor provided a Mat33 value
JSONDictValue ( in Mat44 value )
constructor provided a Mat44 value
JSONDictValue ( in Quat value )
constructor provided a Vec4 value
JSONDictValue ( in RGB value )
constructor provided a RGB value
JSONDictValue ( in RGBA value )
constructor provided a RGBA value
JSONDictValue ( in Vec2 value )
constructor provided a Vec2 value
JSONDictValue ( in Vec3 value )
constructor provided a Vec3 value
JSONDictValue ( in Vec4 value )
constructor provided a Vec4 value
JSONDictValue ( in Xfo value )
constructor provided a Mat44 value
default constructor
JSONDictValue.appendDesc? ( io String string )
JSONDictValue JSONDictValue.clone? ()
clone method
JSONValue JSONDictValue.get? ( in String key )
return a value for a given key as a JSONValue
Boolean JSONDictValue.getBoolean? ( in String key )
return a value for a given key as a Boolean
Color JSONDictValue.getColor? ( in String key )
return a value for a given key as a Color
Integer JSONDictValue.getInteger? ( in String key )
return a value for a given key as a Integer
Mat44 JSONDictValue.getMat44? ( in String key )
return a value for a given key as a Mat44
Quat JSONDictValue.getQuat? ( in String key )
return a value for a given key as a Quat
Scalar JSONDictValue.getScalar? ( in String key )
return a value for a given key as a Scalar
String JSONDictValue.getString? ( in String key )
return a value for a given key as a String
Vec2 JSONDictValue.getVec2? ( in String key )
return a value for a given key as a Vec2
Vec3 JSONDictValue.getVec3? ( in String key )
return a value for a given key as a Vec3
Vec4 JSONDictValue.getVec4? ( in String key )
return a value for a given key as a Vec4
Xfo JSONDictValue.getXfo? ( in String key )
return a value for a given key as a Mat44
Boolean JSONDictValue.has? ( in String key )
returns true if the JSONDictValue contains a certain key
JSONDictValue.merge! ( in JSONDictValue other )
Merges a provided JSONDictValue into this document.
JSONDictValue.set! ( in String key, in JSONValue value )
sets a key / value pair in the dictionary provided a JSONValue
JSONDictValue.setBoolean! ( in String key, in Boolean value )
sets a key / value pair in the dictionary provided a Boolean
JSONDictValue.setColor! ( in String key, in Color value )
sets a key / value pair in the dictionary provided a Color
JSONDictValue.setInteger! ( in String key, in Integer value )
sets a key / value pair in the dictionary provided a Integer
JSONDictValue.setMat44! ( in String key, in Mat44 value )
sets a key / value pair in the dictionary provided a Mat44
JSONDictValue.setQuat! ( in String key, in Quat value )
sets a key / value pair in the dictionary provided a Vec4
JSONDictValue.setScalar! ( in String key, in Scalar value )
sets a key / value pair in the dictionary provided a Scalar
JSONDictValue.setString! ( in String key, in String value )
sets a key / value pair in the dictionary provided a String
JSONDictValue.setVec2! ( in String key, in Vec2 value )
sets a key / value pair in the dictionary provided a Vec2
JSONDictValue.setVec3! ( in String key, in Vec3 value )
sets a key / value pair in the dictionary provided a Vec3
JSONDictValue.setVec4! ( in String key, in Vec4 value )
sets a key / value pair in the dictionary provided a Vec4
JSONDictValue.setXfo! ( in String key, in Xfo value )
sets a key / value pair in the dictionary provided a Mat44
Color JSONDictValue.toColor? ()
returns this dictionary’s elements as a Color
Mat33 JSONDictValue.toMat33? ()
returns this dictionary’s elements as a Mat44
Mat44 JSONDictValue.toMat44? ()
returns this dictionary’s elements as a Mat44
Quat JSONDictValue.toQuat? ()
returns this dictionary’s elements as a Quat
RGB JSONDictValue.toRGB? ()
returns this dictionary’s elements as a RGB
RGBA JSONDictValue.toRGBA? ()
returns this dictionary’s elements as a RGBA
Vec2 JSONDictValue.toVec2? ()
returns this dictionary’s elements as a Vec2
Vec3 JSONDictValue.toVec3? ()
returns this dictionary’s elements as a Vec3
Vec4 JSONDictValue.toVec4? ()
returns this dictionary’s elements as a Vec4
Xfo JSONDictValue.toXfo? ()
returns this dictionary’s elements as a Mat44