LightNode

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirectionalLightNodeFactoryName = "Node.LightNode.DirectionalLightNode"
)
View Source
const PointLightNodeFactoryName = "Node.LightNode.PointLightNode"
View Source
const SpotLightNodeFactoryName = "Node.LightNode.SpotLightNode"

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectionalLightNode

type DirectionalLightNode struct {
	Scene.INode
	Light.DirectionalLight
	InitDirection GeometryMath.Vector3
}

func (*DirectionalLightNode) SetBase

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

func (*DirectionalLightNode) Tick

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

func (*DirectionalLightNode) UnmarshalYAML

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

type PointLightNode

type PointLightNode struct {
	Scene.INode
	Light.PointLight
}

func (*PointLightNode) SetBase

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

func (*PointLightNode) Tick

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

func (*PointLightNode) UnmarshalYAML

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

type SpotLightNode

type SpotLightNode struct {
	Scene.INode
	Light.SpotLight

	FrontVector GeometryMath.Vector3
	UpVector    GeometryMath.Vector3
}

func (*SpotLightNode) SetBase

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

func (*SpotLightNode) Tick

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

func (*SpotLightNode) UnmarshalYAML

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

Jump to

Keyboard shortcuts

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