Documentation ¶
Index ¶
- type Instance
- func (ins *Instance) Bounds(time float32) m.BoundingBox
- func (ins *Instance) Def() core.NodeDef
- func (ins *Instance) MotionKeys() int
- func (ins *Instance) Name() string
- func (ins *Instance) PostRender() error
- func (ins *Instance) PreRender() error
- func (ins *Instance) Trace(ray *core.Ray, sg *core.ShaderContext) bool
- type TransformSRTArray
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { NodeDef core.NodeDef `node:"-"` NodeName string `node:"Name"` Geom string BMin param.PointArray BMax param.PointArray Transform param.MatrixArray // contains filtered or unexported fields }
Instance duplicates an existing geom but with a new transform.
func (*Instance) Bounds ¶
func (ins *Instance) Bounds(time float32) m.BoundingBox
Bounds implements core.Geom.
func (*Instance) MotionKeys ¶
MotionKeys returns the number of motion keys.
func (*Instance) PostRender ¶
PostRender is a core.Node method.
type TransformSRTArray ¶
type TransformSRTArray []m.TransformDecomp
func (*TransformSRTArray) TimeKey ¶
func (t *TransformSRTArray) TimeKey(time float32) m.TransformDecomp
Click to show internal directories.
Click to hide internal directories.