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
Click to show internal directories.
Click to hide internal directories.