Documentation ¶
Index ¶
- type BasicObject
- func (gb *BasicObject) DrawEnable_sg(_bool ...bool) bool
- func (gb *BasicObject) GI() *game.GlobalInfo
- func (gb *BasicObject) GetTransform() *common.Transform
- func (gb *BasicObject) ID_sg(_id ...int) int
- func (gb *BasicObject) Model() *matmath.MATX
- func (gb *BasicObject) ModelAsset_sg(_as ...*asset_manager.Asset) *asset_manager.Asset
- func (gb *BasicObject) NotDrawable() bool
- func (gb *BasicObject) OnDraw()
- func (gb *BasicObject) Projection() *matmath.MATX
- func (gb *BasicObject) ReadyForDraw_sg(_bool ...bool) bool
- func (gb *BasicObject) ShaderAsset_sg(_as ...*asset_manager.Asset) *asset_manager.Asset
- func (gb *BasicObject) Start()
- func (gb *BasicObject) TextureAsset_sg(_as ...*asset_manager.Asset) *asset_manager.Asset
- func (gb *BasicObject) Update()
- func (gb *BasicObject) View() *matmath.MATX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicObject ¶
the common minimal internal implementation of the GameObjectI
func NewBasicObject ¶
func NewBasicObject(_gi *game.GlobalInfo, notDrawable bool) *BasicObject
func (*BasicObject) DrawEnable_sg ¶
func (gb *BasicObject) DrawEnable_sg(_bool ...bool) bool
func (*BasicObject) GI ¶
func (gb *BasicObject) GI() *game.GlobalInfo
func (*BasicObject) GetTransform ¶ added in v0.0.4
func (gb *BasicObject) GetTransform() *common.Transform
func (*BasicObject) ID_sg ¶
func (gb *BasicObject) ID_sg(_id ...int) int
func (*BasicObject) Model ¶ added in v0.0.4
func (gb *BasicObject) Model() *matmath.MATX
func (*BasicObject) ModelAsset_sg ¶
func (gb *BasicObject) ModelAsset_sg(_as ...*asset_manager.Asset) *asset_manager.Asset
func (*BasicObject) NotDrawable ¶
func (gb *BasicObject) NotDrawable() bool
func (*BasicObject) Projection ¶ added in v0.0.4
func (gb *BasicObject) Projection() *matmath.MATX
func (*BasicObject) ReadyForDraw_sg ¶
func (gb *BasicObject) ReadyForDraw_sg(_bool ...bool) bool
func (*BasicObject) ShaderAsset_sg ¶
func (gb *BasicObject) ShaderAsset_sg(_as ...*asset_manager.Asset) *asset_manager.Asset
func (*BasicObject) Start ¶
func (gb *BasicObject) Start()
func (*BasicObject) TextureAsset_sg ¶ added in v0.0.3
func (gb *BasicObject) TextureAsset_sg(_as ...*asset_manager.Asset) *asset_manager.Asset
func (*BasicObject) Update ¶
func (gb *BasicObject) Update()
func (*BasicObject) View ¶ added in v0.0.4
func (gb *BasicObject) View() *matmath.MATX
Click to show internal directories.
Click to hide internal directories.