TerrainNode

package
v0.0.0-...-9749107 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2020 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const AnchorNodeFactoryName = "Node.TerrainNode.AnchorNode"
View Source
const TerrainNodeFactoryName = "Node.TerrainNode"

Variables

This section is empty.

Functions

This section is empty.

Types

type AnchorNode

type AnchorNode struct {
	Scene.INode
	Terrain Terrain.ITerrain
}

func (*AnchorNode) GetBase

func (node *AnchorNode) GetBase() Scene.INode

func (*AnchorNode) GetGlobalPosition

func (node *AnchorNode) GetGlobalPosition() GeometryMath.Vector3

func (*AnchorNode) GetGlobalRotation

func (node *AnchorNode) GetGlobalRotation() []GeometryMath.EulerAngles

func (*AnchorNode) GetGlobalTransformation

func (node *AnchorNode) GetGlobalTransformation() GeometryMath.Matrix4x4

func (*AnchorNode) SetParent

func (node *AnchorNode) SetParent(parent Scene.INode, childID string)

type TerrainNode

type TerrainNode struct {
	Scene.INode
	Terrain.Terrain
	Shader Shader.IShaderProgram
}

func (*TerrainNode) AddChild

func (node *TerrainNode) AddChild(child Scene.INode, childID string)

func (*TerrainNode) Draw

func (node *TerrainNode) Draw(shader Shader.IShaderProgram, invoker coreScene.IDrawable, scene coreScene.IScene, camera Camera.ICamera) error

func (*TerrainNode) SetBase

func (node *TerrainNode) SetBase(base Scene.INode)

func (*TerrainNode) Tick

func (node *TerrainNode) Tick(timeDelta float32) error

func (*TerrainNode) UnmarshalYAML

func (node *TerrainNode) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL