nif/blocks/ni_animation/
ni_vis_controller.rs

1use super::NiBoolInterpController;
2use binrw::{
3    io::{Read, Seek},
4    BinRead, BinReaderExt,
5};
6
7#[derive(Debug, PartialEq, BinRead)]
8pub struct NiVisController {
9    pub base: NiBoolInterpController,
10}
11
12impl NiVisController {
13    pub fn parse<R: Read + Seek>(reader: &mut R) -> anyhow::Result<Self> {
14        Ok(reader.read_le()?)
15    }
16}