MCPcopy Index your code
hub / github.com/g3n/engine / decChannel

Method decChannel

loader/collada/library_animations.go:180–187  ·  view source on GitHub ↗
(start xml.StartElement, anim *Animation)

Source from the content-addressed store, hash-verified

178}
179
180func (d *Decoder) decChannel(start xml.StartElement, anim *Animation) error {
181
182 ch := new(Channel)
183 ch.Source = findAttrib(start, "source").Value
184 ch.Target = findAttrib(start, "target").Value
185 anim.Channel = append(anim.Channel, ch)
186 return nil
187}

Callers 1

decAnimationMethod · 0.95

Calls 1

findAttribFunction · 0.85

Tested by

no test coverage detected