Beispiel #1
0
// SetSmoothingFactor sets the current smoothing factor being used if smoothing
// is turned on. A higher value will have smoothe results. Allowed values are
// [0, 1].
func (skeleton *Skeleton) SetSmoothingFactor(value float32) {

	C.setObjParamFloat((C.gpointer)(skeleton.skeleton), C.CString("smoothing-factor"), C.float(value))
}
Beispiel #2
0
// SetTorsoMinimumNumberNodes sets the current minimum number of nodes required
// for a component to be considered a torso. Allowed values are [0, 65535].
func (skeleton *Skeleton) SetTorsoMinimumNumberNodes(value float32) {

	C.setObjParamFloat((C.gpointer)(skeleton.skeleton), C.CString("torso-minimum-number-nodes"), C.float(value))
}
Beispiel #3
0
// SetShouldersSearchStep sets the step used when searching for shoulders. The
// allowed values are [0.01, 3.14159].
func (skeleton *Skeleton) SetShouldersSearchStep(value float32) {

	C.setObjParamFloat((C.gpointer)(skeleton.skeleton), C.CString("shoulders-search-step"), C.float(value))
}