Documentation ¶
Index ¶
- type Array
- type FBX
- type Header
- type Node
- func (node *Node) Filter(f NodeFilter) (nodes []*Node)
- func (node *Node) FilterName(name string) []*Node
- func (node *Node) Float64Slice(name string) ([]float64, bool)
- func (node *Node) GetFloat64Slice(name string) []float64
- func (node *Node) GetInt32Slice(name string) []int32
- func (node *Node) GetNode(name string) *Node
- func (node *Node) Int32Slice(name string) ([]int32, bool)
- func (node *Node) IsEmpty() bool
- func (n *Node) String() string
- type NodeFilter
- type Property
- func (p *Property) AsBytes() []byte
- func (p *Property) AsFloat32() float32
- func (p *Property) AsFloat32Slice() (a []float32, ok bool)
- func (p *Property) AsFloat64() float64
- func (p *Property) AsFloat64Slice() (a []float64, ok bool)
- func (p *Property) AsInt16() int16
- func (p *Property) AsInt32() int32
- func (p *Property) AsInt32Slice() (a []int32, ok bool)
- func (p *Property) AsInt64() int64
- func (p *Property) AsInt64Slice() (a []int64, ok bool)
- func (p *Property) AsInt8() int8
- func (p *Property) AsString() string
- func (p *Property) String() string
- type PropertyType
- type Reader
- func (fr *Reader) ReadEndOffset(r io.Reader) uint64
- func (fr *Reader) ReadFrom(r io.Reader) (n int64, err error)
- func (fr *Reader) ReadHeaderFrom(r io.Reader) (header *Header)
- func (fr *Reader) ReadNodeFrom(r io.Reader) (node *Node)
- func (fr *Reader) ReadNumProperties(r io.Reader) uint64
- func (fr *Reader) ReadPropertyFrom(r io.Reader) (p *Property)
- func (fr *Reader) ReadPropertyListLen(r io.Reader) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { EndOffset uint64 NumProperties uint64 PropertyListLen uint64 NameLen uint8 Name string Properties []*Property NestedNodes []*Node }
func (*Node) Filter ¶
func (node *Node) Filter(f NodeFilter) (nodes []*Node)
func (*Node) FilterName ¶
func (*Node) GetFloat64Slice ¶
func (*Node) GetInt32Slice ¶
type NodeFilter ¶
func FilterName ¶
func FilterName(name string) NodeFilter
type Property ¶
type Property struct { TypeCode PropertyType Data interface{} }
func (*Property) AsFloat32Slice ¶
func (*Property) AsFloat64Slice ¶
func (*Property) AsInt32Slice ¶
func (*Property) AsInt64Slice ¶
type PropertyType ¶
type PropertyType byte
func (PropertyType) String ¶
func (t PropertyType) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.