Documentation ¶
Index ¶
- type Array
- type FBX
- type FBXReader
- func (fr *FBXReader) ReadEndOffset(r io.Reader) uint64
- func (fr *FBXReader) ReadFrom(r io.Reader) (n int64, err error)
- func (fr *FBXReader) ReadHeaderFrom(r io.Reader) (header *Header)
- func (fr *FBXReader) ReadNodeFrom(r io.Reader) (node *Node)
- func (fr *FBXReader) ReadNumProperties(r io.Reader) uint64
- func (fr *FBXReader) ReadPropertyFrom(r io.Reader) (p *Property)
- func (fr *FBXReader) ReadPropertyListLen(r io.Reader) uint64
- type Header
- type Node
- 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
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 ¶
type NodeFilter ¶
func FilterName ¶
func FilterName(name string) NodeFilter
type Property ¶
type Property struct { TypeCode byte Data interface{} }
func (*Property) AsFloat32Slice ¶
func (*Property) AsFloat64Slice ¶
func (*Property) AsInt32Slice ¶
func (*Property) AsInt64Slice ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.