VFXPreset
VFXPreset : Instance
Overview
๊ฒ์์์ ์์ฃผ ์ฌ์ฉ๋๋ ๋ถ, ํญ๋ฐ, ๋ฐฐ๋ฆฌ์ด, ํ๋ณต ๋ฑ์ ํจ๊ณผ๋ฅผ ์ฌ์ ์ ์๋ ์ดํํธ ์ค ์ ํํ์ฌ ํํํ ์ ์๋ ์ธ์คํด์ค์ ๋๋ค.
Properties
Enabled
bool
VFXPreset์ ํ์ ์ฌ๋ถ๋ฅผ ์ค์ ํฉ๋๋ค.
Code Samples
local VFXPreset = script.Parent
VFXPreset.Enabled = true
wait(3)
VFXPreset.Enabled = false
Color
ColorSequence
VFXPreset์ ์์์ ColorSequence๋ก ์ค์ ํ ์ ์์ต๋๋ค.
ColorSequence์ ์์ ์ง์ ๊ณผ ๋ ์ง์ ์ ์์์ ๋ค๋ฅด๊ฒ ์ค์ ํ์ฌ ์์์ด ์ ์ง์ ์ผ๋ก ๋ณํํ๋๋ก ํํํ ์ ์์ต๋๋ค.
Code Samples
local VFXPreset = script.Parent
local Time1 = 0
local Time2 = 0.5
local ColorKeyPoints =
{
ColorSequenceKeypoint.new(Time1, Color3.fromRGB(255, 0, 0)),
ColorSequenceKeypoint.new(Time2, Color3.fromRGB(0, 0, 255))
}
VFXPreset.Color = ColorSequence.new(ColorKeyPoints)
Size
number
VFXPreset์ ํฌ๊ธฐ๋ฅผ ์ค์ ํ ์ ์์ต๋๋ค.
Code Samples
local VFXPreset = script.Parent
VFXPreset.Size = 2
Transparency
number
VFXPreset์ ํฌ๋ช ๋๋ฅผ ์ค์ ํ ์ ์์ต๋๋ค.
Code Samples
local VFXPreset = script.Parent
VFXPreset.Transparency = 0.5
Methods
Events
See also
VFXLast updated