Versions in this module Expand all Collapse all v0 v0.1.0 Mar 14, 2019 Changes in this version + const MaxBoneInfluencers + type AxisHelper struct + func NewAxisHelper(size float32) *AxisHelper + type Graphic struct + ShaderDefines gls.ShaderDefines + func NewGraphic(igeom geometry.IGeometry, mode uint32) *Graphic + func (gr *Graphic) AddGroupMaterial(igr IGraphic, imat material.IMaterial, gindex int) + func (gr *Graphic) AddMaterial(igr IGraphic, imat material.IMaterial, start, count int) + func (gr *Graphic) BoundingBox() math32.Box3 + func (gr *Graphic) CalculateMatrices(gs *gls.GLS, rinfo *core.RenderInfo) + func (gr *Graphic) ClearMaterials() + func (gr *Graphic) Clone() core.INode + func (gr *Graphic) Cullable() bool + func (gr *Graphic) Dispose() + func (gr *Graphic) GetGeometry() *geometry.Geometry + func (gr *Graphic) GetGraphic() *Graphic + func (gr *Graphic) GetMaterial(vpos int) material.IMaterial + func (gr *Graphic) IGeometry() geometry.IGeometry + func (gr *Graphic) Init(igeom geometry.IGeometry, mode uint32) *Graphic + func (gr *Graphic) Materials() []GraphicMaterial + func (gr *Graphic) ModelMatrix() *math32.Matrix4 + func (gr *Graphic) ModelViewMatrix() *math32.Matrix4 + func (gr *Graphic) ModelViewProjectionMatrix() *math32.Matrix4 + func (gr *Graphic) RenderOrder() int + func (gr *Graphic) Renderable() bool + func (gr *Graphic) SetCullable(state bool) + func (gr *Graphic) SetIGraphic(igr IGraphic) + func (gr *Graphic) SetRenderOrder(order int) + func (gr *Graphic) SetRenderable(state bool) + type GraphicMaterial struct + func (grmat *GraphicMaterial) IGraphic() IGraphic + func (grmat *GraphicMaterial) IMaterial() material.IMaterial + func (grmat *GraphicMaterial) Render(gs *gls.GLS, rinfo *core.RenderInfo) + type GridHelper struct + func NewGridHelper(size, step float32, color *math32.Color) *GridHelper + type IGraphic interface + Cullable func() bool + GetGeometry func() *geometry.Geometry + GetGraphic func() *Graphic + IGeometry func() geometry.IGeometry + RenderSetup func(gs *gls.GLS, rinfo *core.RenderInfo) + Renderable func() bool + SetCullable func(bool) + SetRenderable func(bool) + type LineStrip struct + func NewLineStrip(igeom geometry.IGeometry, imat material.IMaterial) *LineStrip + func (l *LineStrip) Raycast(rc *core.Raycaster, intersects *[]core.Intersect) + func (l *LineStrip) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + type Lines struct + func NewLines(igeom geometry.IGeometry, imat material.IMaterial) *Lines + func (l *Lines) Init(igeom geometry.IGeometry, imat material.IMaterial) + func (l *Lines) Raycast(rc *core.Raycaster, intersects *[]core.Intersect) + func (l *Lines) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + type Mesh struct + func NewMesh(igeom geometry.IGeometry, imat material.IMaterial) *Mesh + func (m *Mesh) AddGroupMaterial(imat material.IMaterial, gindex int) + func (m *Mesh) AddMaterial(imat material.IMaterial, start, count int) + func (m *Mesh) Clone() core.INode + func (m *Mesh) Init(igeom geometry.IGeometry, imat material.IMaterial) + func (m *Mesh) Raycast(rc *core.Raycaster, intersects *[]core.Intersect) + func (m *Mesh) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + func (m *Mesh) SetMaterial(imat material.IMaterial) + type NormalsHelper struct + func NewNormalsHelper(ig IGraphic, size float32, color *math32.Color, lineWidth float32) *NormalsHelper + func (nh *NormalsHelper) Update() + type Points struct + func NewPoints(igeom geometry.IGeometry, imat material.IMaterial) *Points + func (p *Points) Raycast(rc *core.Raycaster, intersects *[]core.Intersect) + func (p *Points) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + type RiggedMesh struct + func NewRiggedMesh(mesh *Mesh) *RiggedMesh + func (rm *RiggedMesh) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + func (rm *RiggedMesh) SetSkeleton(sk *Skeleton) + func (rm *RiggedMesh) Skeleton() *Skeleton + type Skeleton struct + func NewSkeleton() *Skeleton + func (sk *Skeleton) AddBone(node *core.Node, inverseBindMatrix *math32.Matrix4) + func (sk *Skeleton) BoneMatrices(invMat *math32.Matrix4) []math32.Matrix4 + func (sk *Skeleton) Bones() []*core.Node + type Skybox struct + func NewSkybox(data SkyboxData) (*Skybox, error) + func (skybox *Skybox) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo) + type SkyboxData struct + DirAndPrefix string + Extension string + Suffixes [6]string + type Sprite struct + func NewSprite(width, height float32, imat material.IMaterial) *Sprite + func (s *Sprite) Raycast(rc *core.Raycaster, intersects *[]core.Intersect) + func (s *Sprite) RenderSetup(gs *gls.GLS, rinfo *core.RenderInfo)