{ -*- buffer-read-only: t -*-

  Copyright 2015-2018 Michalis Kamburelis.

  This file is part of "Castle Game Engine".

  "Castle Game Engine" is free software; see the file COPYING.txt,
  included in this distribution, for details about the copyright.

  "Castle Game Engine" is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  ----------------------------------------------------------------------------
}

{ Automatically generated node properties.

  Do not edit this file manually!
  To add new properties:
  - add them to the text files in nodes_specification/components/ ,
  - and regenerate include files by running
    nodes_specification/x3d-nodes-to-pascal/x3d-nodes-to-pascal.lpr .

  The documentation for properties should go to x3dnodes_documentation.txt . }

{$ifdef read_interface}

  strict private
    function GetCenter: TVector3;
    procedure SetCenter(const Value: TVector3);
    function GetNameField: string;
    procedure SetNameField(const Value: string);
    function GetRotation: TVector4;
    procedure SetRotation(const Value: TVector4);
    function GetScale: TVector3;
    procedure SetScale(const Value: TVector3);
    function GetScaleOrientation: TVector4;
    procedure SetScaleOrientation(const Value: TVector4);
    function GetTranslation: TVector3;
    procedure SetTranslation(const Value: TVector3);
  public
    property Center: TVector3 read GetCenter write SetCenter;
    property NameField: string read GetNameField write SetNameField;
    property Rotation: TVector4 read GetRotation write SetRotation;
    property Scale: TVector3 read GetScale write SetScale;
    property ScaleOrientation: TVector4 read GetScaleOrientation write SetScaleOrientation;
    property Translation: TVector3 read GetTranslation write SetTranslation;

{$endif read_interface}

{$ifdef read_implementation}

{ THAnimSiteNode ----------------------------------------------- }

function THAnimSiteNode.GetCenter: TVector3;
begin
  Result := FdCenter.Value;
end;

procedure THAnimSiteNode.SetCenter(const Value: TVector3);
begin
  FdCenter.Send(Value);
end;

function THAnimSiteNode.GetNameField: string;
begin
  Result := FdName.Value;
end;

procedure THAnimSiteNode.SetNameField(const Value: string);
begin
  FdName.Send(Value);
end;

function THAnimSiteNode.GetRotation: TVector4;
begin
  Result := FdRotation.Value;
end;

procedure THAnimSiteNode.SetRotation(const Value: TVector4);
begin
  FdRotation.Send(Value);
end;

function THAnimSiteNode.GetScale: TVector3;
begin
  Result := FdScale.Value;
end;

procedure THAnimSiteNode.SetScale(const Value: TVector3);
begin
  FdScale.Send(Value);
end;

function THAnimSiteNode.GetScaleOrientation: TVector4;
begin
  Result := FdScaleOrientation.Value;
end;

procedure THAnimSiteNode.SetScaleOrientation(const Value: TVector4);
begin
  FdScaleOrientation.Send(Value);
end;

function THAnimSiteNode.GetTranslation: TVector3;
begin
  Result := FdTranslation.Value;
end;

procedure THAnimSiteNode.SetTranslation(const Value: TVector3);
begin
  FdTranslation.Send(Value);
end;

{$endif read_implementation}
