Open 3D Engine LmbrCentral Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
LmbrCentral::SplineComponent Class Reference

Component interface to core spline implementation. More...

#include <SplineComponent.h>

Inherits AZ::Component, SplineComponentRequestBus::Handler, and AZ::TransformNotificationBus::Handler.

Public Member Functions

 AZ_COMPONENT (SplineComponent, "{F0905297-1E24-4044-BFDA-BDE3583F1E57}")
 
void Activate () override
 
void Deactivate () override
 
AZ::SplinePtr GetSpline () override
 
void ChangeSplineType (AZ::u64 splineType) override
 
void SetClosed (bool closed) override
 
bool GetVertex (size_t index, AZ::Vector3 &vertex) const override
 
void AddVertex (const AZ::Vector3 &vertex) override
 
bool UpdateVertex (size_t index, const AZ::Vector3 &vertex) override
 
bool InsertVertex (size_t index, const AZ::Vector3 &vertex) override
 
bool RemoveVertex (size_t index) override
 
void SetVertices (const AZStd::vector< AZ::Vector3 > &vertices) override
 
void ClearVertices () override
 
size_t Size () const override
 
bool Empty () const override
 
void OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override
 

Static Protected Member Functions

static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void Reflect (AZ::ReflectContext *context)
 

Friends

class EditorSplineComponent
 

Detailed Description

Component interface to core spline implementation.


The documentation for this class was generated from the following file: