ParamDict.kl¶
Types¶
ParamDict (object)¶
バージョン 1.12.0 で追加.
The ParamDict (object) object is used to store a list of parameters based on names.
ParamDict dict();
// store a scalar and a color dict.setFloat64(‘length’, 1.7); dict.setColor(‘diffuse’, :ref:`Color <color>`(1.0, 0.0, 0.0));
// restore them report(dict.getFloat64(‘length’)); report(dict.getColor(‘diffuse’));
Methods¶
ParamDict ( in ParamDict other ) | |
ParamDict () | |
clear ! () | |
ParamDict | clone ? () |
Param | get ? ( in String name ) |
Boolean | getBoolean ? ( in String name ) |
Boolean[] | getBooleanArray ? ( in String name ) |
Color | getColor ? ( in String name ) |
Color[] | getColorArray ? ( in String name ) |
Euler | getEuler ? ( in String name ) |
Euler[] | getEulerArray ? ( in String name ) |
Float64 | getFloat64 ? ( in String name ) |
Float64[] | getFloat64Array ? ( in String name ) |
Mat33 | getMat33 ? ( in String name ) |
Mat33[] | getMat33Array ? ( in String name ) |
Mat44 | getMat44 ? ( in String name ) |
Mat44[] | getMat44Array ? ( in String name ) |
Object | getObject ? ( in String name ) |
Object[] | getObjectArray ? ( in String name ) |
String[] | getParamNames ? () |
Quat | getQuat ? ( in String name ) |
Quat[] | getQuatArray ? ( in String name ) |
SInt32 | getSInt32 ? ( in String name ) |
SInt32[] | getSInt32Array ? ( in String name ) |
String | getString ? ( in String name ) |
String[] | getStringArray ? ( in String name ) |
StructParam | getStruct ? ( in String name ) |
getStructData ? ( in String name, io Data data ) | |
getStructType ? ( in String name, io UInt64 dataSize, io String type ) | |
String | getValueType ? ( in String name ) |
Vec3 | getVec3 ? ( in String name ) |
Vec3[] | getVec3Array ? ( in String name ) |
Xfo | getXfo ? ( in String name ) |
Xfo[] | getXfoArray ? ( in String name ) |
Boolean | has ? ( in String name ) |
set ! ( in String name, in Param param ) | |
setBoolean ! ( in String name, in Boolean value ) | |
setBooleanArray ! ( in String name, in Boolean values[] ) | |
setColor ! ( in String name, in Color value ) | |
setColorArray ! ( in String name, in Color values[] ) | |
setEuler ! ( in String name, in Euler value ) | |
setEulerArray ! ( in String name, in Euler values[] ) | |
setFloat64 ! ( in String name, in Float64 value ) | |
setFloat64Array ! ( in String name, in Float64 values[] ) | |
setMat33 ! ( in String name, in Mat33 value ) | |
setMat33Array ! ( in String name, in Mat33 values[] ) | |
setMat44 ! ( in String name, in Mat44 value ) | |
setMat44Array ! ( in String name, in Mat44 values[] ) | |
setObject ! ( in String name, in Object value ) | |
setObjectArray ! ( in String name, in Object values[] ) | |
setQuat ! ( in String name, in Quat value ) | |
setQuatArray ! ( in String name, in Quat values[] ) | |
setSInt32 ! ( in String name, in SInt32 value ) | |
setSInt32Array ! ( in String name, in SInt32 values[] ) | |
setString ! ( in String name, in String value ) | |
setStringArray ! ( in String name, in String values[] ) | |
setStruct ! ( in String name, in Type type, in Data data, in UInt64 dataSize ) | |
setVec3 ! ( in String name, in Vec3 value ) | |
setVec3Array ! ( in String name, in Vec3 values[] ) | |
setXfo ! ( in String name, in Xfo value ) | |
setXfoArray ! ( in String name, in Xfo values[] ) | |
Size | size ? () |