내가 어떻게 찾을 수glScene 개체를 찾고 무료로 사용하는 방법은 무엇입니까?
var
fLed: Tglhudsprite;
i,fImgSnapNum: integer;
............
for i := 0 to fImgSnapNum - 1 do
begin
fLed := TGLHUDSprite.CreateAsChild(MainForm.Dummy_Sound);
fLed.Name := 'fLed' + IntToStr(i);
fled.Material.MaterialLibrary := MatLib;
fLed.Material.LibMaterialName := 'led';
fLed.Width := fLed.Material.GetActualPrimaryTexture.Image.Width;
fLed.Height := fLed.Material.GetActualPrimaryTexture.Image.Height;
fled.SetSize(18,18);
fled.Position.X := 530 + (i * 30);
fled.Position.Y := 600;
fled.Visible := true;
end;
을 주도하고 무료로 달아났다 GLScene 데모 개체를 만들 동적으로이 코드를 쓴 ...?
는
무료로 전화 할 수는 없습니까? –
로브 아니, 그럴 수 없어. 내가 fled.free로 해방했을 때 동적 생성을 다시하면 "구성 요소"fled0가 이미 존재한다는 오류가 발생합니다 ... – azrael11